Skip to content

Commit e51aa34

Browse files
feat: update AWS API models
1 parent d6feb4b commit e51aa34

File tree

9 files changed

+1576
-319
lines changed

9 files changed

+1576
-319
lines changed

codegen/sdk/aws-models/amp.json

Lines changed: 410 additions & 1 deletion
Large diffs are not rendered by default.

codegen/sdk/aws-models/datazone.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21405,6 +21405,12 @@
2140521405
"traits": {
2140621406
"smithy.api#documentation": "<p>The ARN of an IAM user profile in Amazon DataZone.</p>"
2140721407
}
21408+
},
21409+
"principalId": {
21410+
"target": "smithy.api#String",
21411+
"traits": {
21412+
"smithy.api#documentation": "<p>Principal ID of the IAM user.</p>"
21413+
}
2140821414
}
2140921415
},
2141021416
"traits": {

codegen/sdk/aws-models/ecs.json

Lines changed: 14 additions & 5 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/emr-containers.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,12 @@
16401640
"smithy.api#required": {}
16411641
}
16421642
},
1643+
"containerProvider": {
1644+
"target": "com.amazonaws.emrcontainers#ContainerProvider",
1645+
"traits": {
1646+
"smithy.api#documentation": "<p>The container provider associated with the security configuration.</p>"
1647+
}
1648+
},
16431649
"securityConfigurationData": {
16441650
"target": "com.amazonaws.emrcontainers#SecurityConfigurationData",
16451651
"traits": {
@@ -2319,6 +2325,12 @@
23192325
"traits": {
23202326
"smithy.api#documentation": "<p>The namespaces of the Amazon EKS cluster.</p>"
23212327
}
2328+
},
2329+
"nodeLabel": {
2330+
"target": "com.amazonaws.emrcontainers#ResourceNameString",
2331+
"traits": {
2332+
"smithy.api#documentation": "<p>The nodeLabel of the nodes where the resources of this virtual cluster can get scheduled. It requires relevant scaling and policy engine addons.</p>"
2333+
}
23222334
}
23232335
},
23242336
"traits": {

codegen/sdk/aws-models/evs.json

Lines changed: 251 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
22
"smithy": "2.0",
33
"shapes": {
4+
"com.amazonaws.evs#AllocationId": {
5+
"type": "string",
6+
"traits": {
7+
"smithy.api#length": {
8+
"min": 9,
9+
"max": 26
10+
},
11+
"smithy.api#pattern": "^eipalloc-[a-zA-Z0-9_-]+$"
12+
}
13+
},
414
"com.amazonaws.evs#AmazonElasticVMwareService": {
515
"type": "service",
616
"version": "2023-07-27",
@@ -685,6 +695,91 @@
685695
"smithy.api#pattern": "^arn:aws:evs:[a-z]{2}-[a-z]+-[0-9]:[0-9]{12}:environment/[a-zA-Z0-9_-]+$"
686696
}
687697
},
698+
"com.amazonaws.evs#AssociateEipToVlan": {
699+
"type": "operation",
700+
"input": {
701+
"target": "com.amazonaws.evs#AssociateEipToVlanRequest"
702+
},
703+
"output": {
704+
"target": "com.amazonaws.evs#AssociateEipToVlanResponse"
705+
},
706+
"errors": [
707+
{
708+
"target": "com.amazonaws.evs#ResourceNotFoundException"
709+
},
710+
{
711+
"target": "com.amazonaws.evs#ThrottlingException"
712+
},
713+
{
714+
"target": "com.amazonaws.evs#ValidationException"
715+
}
716+
],
717+
"traits": {
718+
"smithy.api#documentation": "<p>Associates an Elastic IP address with a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.</p>",
719+
"smithy.api#idempotent": {}
720+
}
721+
},
722+
"com.amazonaws.evs#AssociateEipToVlanRequest": {
723+
"type": "structure",
724+
"members": {
725+
"clientToken": {
726+
"target": "com.amazonaws.evs#ClientToken",
727+
"traits": {
728+
"smithy.api#documentation": "<note> <p>This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.</p> </note> <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p>",
729+
"smithy.api#idempotencyToken": {}
730+
}
731+
},
732+
"environmentId": {
733+
"target": "com.amazonaws.evs#EnvironmentId",
734+
"traits": {
735+
"smithy.api#documentation": "<p>A unique ID for the environment containing the VLAN that the Elastic IP address associates with.</p>",
736+
"smithy.api#required": {}
737+
}
738+
},
739+
"vlanName": {
740+
"target": "smithy.api#String",
741+
"traits": {
742+
"smithy.api#documentation": "<p>The name of the VLAN. <code>hcx</code> is the only accepted VLAN name at this time.</p>",
743+
"smithy.api#length": {
744+
"min": 1,
745+
"max": 200
746+
},
747+
"smithy.api#required": {}
748+
}
749+
},
750+
"allocationId": {
751+
"target": "com.amazonaws.evs#AllocationId",
752+
"traits": {
753+
"smithy.api#documentation": "<p>The Elastic IP address allocation ID.</p>",
754+
"smithy.api#required": {}
755+
}
756+
}
757+
},
758+
"traits": {
759+
"smithy.api#input": {}
760+
}
761+
},
762+
"com.amazonaws.evs#AssociateEipToVlanResponse": {
763+
"type": "structure",
764+
"members": {
765+
"vlan": {
766+
"target": "com.amazonaws.evs#Vlan"
767+
}
768+
},
769+
"traits": {
770+
"smithy.api#output": {}
771+
}
772+
},
773+
"com.amazonaws.evs#AssociationId": {
774+
"type": "string",
775+
"traits": {
776+
"smithy.api#length": {
777+
"min": 9,
778+
"max": 26
779+
},
780+
"smithy.api#pattern": "^eipassoc-[a-zA-Z0-9_-]+$"
781+
}
782+
},
688783
"com.amazonaws.evs#Check": {
689784
"type": "structure",
690785
"members": {
@@ -1153,6 +1248,113 @@
11531248
"smithy.api#output": {}
11541249
}
11551250
},
1251+
"com.amazonaws.evs#DisassociateEipFromVlan": {
1252+
"type": "operation",
1253+
"input": {
1254+
"target": "com.amazonaws.evs#DisassociateEipFromVlanRequest"
1255+
},
1256+
"output": {
1257+
"target": "com.amazonaws.evs#DisassociateEipFromVlanResponse"
1258+
},
1259+
"errors": [
1260+
{
1261+
"target": "com.amazonaws.evs#ResourceNotFoundException"
1262+
},
1263+
{
1264+
"target": "com.amazonaws.evs#ThrottlingException"
1265+
},
1266+
{
1267+
"target": "com.amazonaws.evs#ValidationException"
1268+
}
1269+
],
1270+
"traits": {
1271+
"smithy.api#documentation": "<p>Disassociates an Elastic IP address from a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.</p>",
1272+
"smithy.api#idempotent": {}
1273+
}
1274+
},
1275+
"com.amazonaws.evs#DisassociateEipFromVlanRequest": {
1276+
"type": "structure",
1277+
"members": {
1278+
"clientToken": {
1279+
"target": "com.amazonaws.evs#ClientToken",
1280+
"traits": {
1281+
"smithy.api#documentation": "<note> <p>This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.</p> </note> <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.</p>",
1282+
"smithy.api#idempotencyToken": {}
1283+
}
1284+
},
1285+
"environmentId": {
1286+
"target": "com.amazonaws.evs#EnvironmentId",
1287+
"traits": {
1288+
"smithy.api#documentation": "<p>A unique ID for the environment containing the VLAN that the Elastic IP address disassociates from.</p>",
1289+
"smithy.api#required": {}
1290+
}
1291+
},
1292+
"vlanName": {
1293+
"target": "smithy.api#String",
1294+
"traits": {
1295+
"smithy.api#documentation": "<p>The name of the VLAN. <code>hcx</code> is the only accepted VLAN name at this time.</p>",
1296+
"smithy.api#length": {
1297+
"min": 1,
1298+
"max": 200
1299+
},
1300+
"smithy.api#required": {}
1301+
}
1302+
},
1303+
"associationId": {
1304+
"target": "com.amazonaws.evs#AssociationId",
1305+
"traits": {
1306+
"smithy.api#documentation": "<p> A unique ID for the Elastic IP address association.</p>",
1307+
"smithy.api#required": {}
1308+
}
1309+
}
1310+
},
1311+
"traits": {
1312+
"smithy.api#input": {}
1313+
}
1314+
},
1315+
"com.amazonaws.evs#DisassociateEipFromVlanResponse": {
1316+
"type": "structure",
1317+
"members": {
1318+
"vlan": {
1319+
"target": "com.amazonaws.evs#Vlan"
1320+
}
1321+
},
1322+
"traits": {
1323+
"smithy.api#output": {}
1324+
}
1325+
},
1326+
"com.amazonaws.evs#EipAssociation": {
1327+
"type": "structure",
1328+
"members": {
1329+
"associationId": {
1330+
"target": "com.amazonaws.evs#AssociationId",
1331+
"traits": {
1332+
"smithy.api#documentation": "<p>A unique ID for the elastic IP address association with the VLAN subnet.</p>"
1333+
}
1334+
},
1335+
"allocationId": {
1336+
"target": "com.amazonaws.evs#AllocationId",
1337+
"traits": {
1338+
"smithy.api#documentation": "<p>The Elastic IP address allocation ID.</p>"
1339+
}
1340+
},
1341+
"ipAddress": {
1342+
"target": "com.amazonaws.evs#IpAddress",
1343+
"traits": {
1344+
"smithy.api#documentation": "<p>The Elastic IP address.</p>"
1345+
}
1346+
}
1347+
},
1348+
"traits": {
1349+
"smithy.api#documentation": "<p>An Elastic IP address association with the elastic network interface in the VLAN subnet.</p>"
1350+
}
1351+
},
1352+
"com.amazonaws.evs#EipAssociationList": {
1353+
"type": "list",
1354+
"member": {
1355+
"target": "com.amazonaws.evs#EipAssociation"
1356+
}
1357+
},
11561358
"com.amazonaws.evs#Environment": {
11571359
"type": "structure",
11581360
"members": {
@@ -1317,12 +1519,18 @@
13171519
"target": "com.amazonaws.evs#ListEnvironments"
13181520
},
13191521
"operations": [
1522+
{
1523+
"target": "com.amazonaws.evs#AssociateEipToVlan"
1524+
},
13201525
{
13211526
"target": "com.amazonaws.evs#CreateEnvironmentHost"
13221527
},
13231528
{
13241529
"target": "com.amazonaws.evs#DeleteEnvironmentHost"
13251530
},
1531+
{
1532+
"target": "com.amazonaws.evs#DisassociateEipFromVlan"
1533+
},
13261534
{
13271535
"target": "com.amazonaws.evs#ListEnvironmentHosts"
13281536
},
@@ -1775,7 +1983,7 @@
17751983
"hcx": {
17761984
"target": "com.amazonaws.evs#InitialVlanInfo",
17771985
"traits": {
1778-
"smithy.api#documentation": "<p>The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.</p>",
1986+
"smithy.api#documentation": "<p>The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.</p> <p>If you plan to use a public HCX VLAN subnet, the following requirements must be met:</p> <ul> <li> <p>Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.</p> </li> <li> <p>The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.</p> </li> <li> <p>Must have at least three Elastic IP addresses to be allocated from the public IPAM pool for HCX components.</p> </li> </ul>",
17791987
"smithy.api#required": {}
17801988
}
17811989
},
@@ -1792,6 +2000,19 @@
17922000
"smithy.api#documentation": "<p>An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.</p>",
17932001
"smithy.api#required": {}
17942002
}
2003+
},
2004+
"isHcxPublic": {
2005+
"target": "smithy.api#Boolean",
2006+
"traits": {
2007+
"smithy.api#default": false,
2008+
"smithy.api#documentation": "<p>Determines if the HCX VLAN that Amazon EVS provisions is public or private.</p>"
2009+
}
2010+
},
2011+
"hcxNetworkAclId": {
2012+
"target": "com.amazonaws.evs#NetworkAclId",
2013+
"traits": {
2014+
"smithy.api#documentation": "<p>A unique ID for a network access control list that the HCX VLAN uses. Required when <code>isHcxPublic</code> is set to <code>true</code>.</p>"
2015+
}
17952016
}
17962017
},
17972018
"traits": {
@@ -2184,6 +2405,16 @@
21842405
}
21852406
}
21862407
},
2408+
"com.amazonaws.evs#NetworkAclId": {
2409+
"type": "string",
2410+
"traits": {
2411+
"smithy.api#length": {
2412+
"min": 4,
2413+
"max": 21
2414+
},
2415+
"smithy.api#pattern": "^acl-[a-zA-Z0-9_-]+$"
2416+
}
2417+
},
21872418
"com.amazonaws.evs#NetworkInterface": {
21882419
"type": "structure",
21892420
"members": {
@@ -2535,7 +2766,7 @@
25352766
}
25362767
},
25372768
"traits": {
2538-
"smithy.api#documentation": "<p>The <code>CreateEnvironmentHost</code> operation couldn't be performed because the service is throttling requests. This exception is thrown when the <code>CreateEnvironmentHost</code> request exceeds concurrency of 1 transaction per second (TPS).</p>",
2769+
"smithy.api#documentation": "<p>The operation couldn't be performed because the service is throttling requests. This exception is thrown when there are too many requests accepted concurrently from the service endpoint.</p>",
25392770
"smithy.api#error": "client",
25402771
"smithy.api#httpError": 429,
25412772
"smithy.api#retryable": {}
@@ -2852,6 +3083,24 @@
28523083
"traits": {
28533084
"smithy.api#documentation": "<p>The state details of the VLAN.</p>"
28543085
}
3086+
},
3087+
"eipAssociations": {
3088+
"target": "com.amazonaws.evs#EipAssociationList",
3089+
"traits": {
3090+
"smithy.api#documentation": "<p>An array of Elastic IP address associations.</p>"
3091+
}
3092+
},
3093+
"isPublic": {
3094+
"target": "smithy.api#Boolean",
3095+
"traits": {
3096+
"smithy.api#documentation": "<p>Determines if the VLAN that Amazon EVS provisions is public or private.</p>"
3097+
}
3098+
},
3099+
"networkAclId": {
3100+
"target": "com.amazonaws.evs#NetworkAclId",
3101+
"traits": {
3102+
"smithy.api#documentation": "<p>A unique ID for a network access control list.</p>"
3103+
}
28553104
}
28563105
},
28573106
"traits": {

codegen/sdk/aws-models/guardduty.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
"target": "com.amazonaws.guardduty#Email",
324324
"traits": {
325325
"smithy.api#clientOptional": {},
326-
"smithy.api#documentation": "<p>The email address of the member account.</p>\n <p>The rules for a valid email address:</p>\n <ul>\n <li>\n <p>The email address must be a minimum of 6 and a maximum of 64 characters long.</p>\n </li>\n <li>\n <p>All characters must be 7-bit ASCII characters.</p>\n </li>\n <li>\n <p>There must be one and only one @ symbol, which separates the local name from the domain name.</p>\n </li>\n <li>\n <p>The local name can't contain any of the following characters:</p>\n <p>whitespace, \" ' ( ) < > [ ] : ' , \\ | % &</p>\n </li>\n <li>\n <p>The local name can't begin with a dot (.).</p>\n </li>\n <li>\n <p>The domain name can consist of only the characters [a-z], [A-Z], [0-9], hyphen (-), or dot (.).</p>\n </li>\n <li>\n <p>The domain name can't begin or end with a dot (.) or hyphen (-).</p>\n </li>\n <li>\n <p>The domain name must contain at least one dot. </p>\n </li>\n </ul>",
326+
"smithy.api#documentation": "<p>The email address of the member account. The following list includes the\n rules for a valid email address:</p>\n <ul>\n <li>\n <p>The email address must be a minimum of 6 and a maximum of 64 characters long.</p>\n </li>\n <li>\n <p>All characters must be 7-bit ASCII characters.</p>\n </li>\n <li>\n <p>There must be one and only one @ symbol, which separates the local name from the domain name.</p>\n </li>\n <li>\n <p>The local name can't contain any of the following characters:</p>\n <p>whitespace, \" ' ( ) < > [ ] : ' , \\ | % &</p>\n </li>\n <li>\n <p>The local name can't begin with a dot (.).</p>\n </li>\n <li>\n <p>The domain name can consist of only the characters [a-z], [A-Z], [0-9], hyphen (-), or dot (.).</p>\n </li>\n <li>\n <p>The domain name can't begin or end with a dot (.) or hyphen (-).</p>\n </li>\n <li>\n <p>The domain name must contain at least one dot. </p>\n </li>\n </ul>",
327327
"smithy.api#jsonName": "email",
328328
"smithy.api#required": {}
329329
}

0 commit comments

Comments
 (0)