Skip to content

Commit 18f15c8

Browse files
feat: update AWS API models
1 parent 73dd943 commit 18f15c8

File tree

7 files changed

+479
-19
lines changed

7 files changed

+479
-19
lines changed

codegen/sdk/aws-models/cloudhsm-v2.json

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,18 @@
13501350
"smithy.api#error": "client"
13511351
}
13521352
},
1353+
"com.amazonaws.cloudhsmv2#CloudHsmResourceLimitExceededException": {
1354+
"type": "structure",
1355+
"members": {
1356+
"Message": {
1357+
"target": "com.amazonaws.cloudhsmv2#errorMessage"
1358+
}
1359+
},
1360+
"traits": {
1361+
"smithy.api#documentation": "<p>The request was rejected because it exceeds an CloudHSM limit.</p>",
1362+
"smithy.api#error": "client"
1363+
}
1364+
},
13531365
"com.amazonaws.cloudhsmv2#CloudHsmResourceNotFoundException": {
13541366
"type": "structure",
13551367
"members": {
@@ -1467,6 +1479,12 @@
14671479
"smithy.api#documentation": "<p>The identifier (ID) of the virtual private cloud (VPC) that contains the\n cluster.</p>"
14681480
}
14691481
},
1482+
"NetworkType": {
1483+
"target": "com.amazonaws.cloudhsmv2#NetworkType",
1484+
"traits": {
1485+
"smithy.api#documentation": "<p>The cluster's NetworkType can be set to either IPV4 (which is the default) or DUALSTACK.\n When set to IPV4, communication between your application and the Hardware Security Modules (HSMs) is restricted to the IPv4 protocol only.\n In contrast, the DUALSTACK network type enables communication over both the IPv4 and IPv6 protocols.\n To use the DUALSTACK option, you'll need to configure your Virtual Private Cloud (VPC) and subnets to support both IPv4 and IPv6. This involves adding IPv6 Classless Inter-Domain Routing (CIDR) blocks to the existing IPv4 CIDR blocks in your subnets.\n The choice between IPV4 and DUALSTACK network types determines the flexibility of the network addressing setup for your cluster. The DUALSTACK option provides more flexibility by allowing both IPv4 and IPv6 communication.</p>"
1486+
}
1487+
},
14701488
"Certificates": {
14711489
"target": "com.amazonaws.cloudhsmv2#Certificates",
14721490
"traits": {
@@ -1552,6 +1570,18 @@
15521570
"smithy.api#enumValue": "UPDATE_IN_PROGRESS"
15531571
}
15541572
},
1573+
"MODIFY_IN_PROGRESS": {
1574+
"target": "smithy.api#Unit",
1575+
"traits": {
1576+
"smithy.api#enumValue": "MODIFY_IN_PROGRESS"
1577+
}
1578+
},
1579+
"ROLLBACK_IN_PROGRESS": {
1580+
"target": "smithy.api#Unit",
1581+
"traits": {
1582+
"smithy.api#enumValue": "ROLLBACK_IN_PROGRESS"
1583+
}
1584+
},
15551585
"DELETE_IN_PROGRESS": {
15561586
"target": "smithy.api#Unit",
15571587
"traits": {
@@ -1722,6 +1752,12 @@
17221752
"smithy.api#required": {}
17231753
}
17241754
},
1755+
"NetworkType": {
1756+
"target": "com.amazonaws.cloudhsmv2#NetworkType",
1757+
"traits": {
1758+
"smithy.api#documentation": "<p>The NetworkType to create a cluster with. The allowed values are\n <code>IPV4</code> and <code>DUALSTACK</code>.\n </p>"
1759+
}
1760+
},
17251761
"TagList": {
17261762
"target": "com.amazonaws.cloudhsmv2#TagList",
17271763
"traits": {
@@ -2208,7 +2244,20 @@
22082244
"inputToken": "NextToken",
22092245
"outputToken": "NextToken",
22102246
"pageSize": "MaxResults"
2211-
}
2247+
},
2248+
"smithy.test#smokeTests": [
2249+
{
2250+
"id": "DescribeClustersSuccess",
2251+
"params": {},
2252+
"vendorParams": {
2253+
"region": "us-west-2"
2254+
},
2255+
"vendorParamsShape": "aws.test#AwsVendorParams",
2256+
"expect": {
2257+
"success": {}
2258+
}
2259+
}
2260+
]
22122261
}
22132262
},
22142263
"com.amazonaws.cloudhsmv2#DescribeClustersRequest": {
@@ -2421,6 +2470,12 @@
24212470
"smithy.api#documentation": "<p>The IP address of the HSM's elastic network interface (ENI).</p>"
24222471
}
24232472
},
2473+
"EniIpV6": {
2474+
"target": "com.amazonaws.cloudhsmv2#IpV6Address",
2475+
"traits": {
2476+
"smithy.api#documentation": "<p>The IPv6 address (if any) of the HSM's elastic network interface (ENI).</p>"
2477+
}
2478+
},
24242479
"HsmId": {
24252480
"target": "com.amazonaws.cloudhsmv2#HsmId",
24262481
"traits": {
@@ -2586,6 +2641,15 @@
25862641
"smithy.api#pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$"
25872642
}
25882643
},
2644+
"com.amazonaws.cloudhsmv2#IpV6Address": {
2645+
"type": "string",
2646+
"traits": {
2647+
"smithy.api#length": {
2648+
"min": 0,
2649+
"max": 100
2650+
}
2651+
}
2652+
},
25892653
"com.amazonaws.cloudhsmv2#ListTags": {
25902654
"type": "operation",
25912655
"input": {
@@ -2804,6 +2868,23 @@
28042868
"smithy.api#output": {}
28052869
}
28062870
},
2871+
"com.amazonaws.cloudhsmv2#NetworkType": {
2872+
"type": "enum",
2873+
"members": {
2874+
"IPV4": {
2875+
"target": "smithy.api#Unit",
2876+
"traits": {
2877+
"smithy.api#enumValue": "IPV4"
2878+
}
2879+
},
2880+
"DUALSTACK": {
2881+
"target": "smithy.api#Unit",
2882+
"traits": {
2883+
"smithy.api#enumValue": "DUALSTACK"
2884+
}
2885+
}
2886+
}
2887+
},
28072888
"com.amazonaws.cloudhsmv2#NextToken": {
28082889
"type": "string",
28092890
"traits": {
@@ -3088,6 +3169,9 @@
30883169
{
30893170
"target": "com.amazonaws.cloudhsmv2#CloudHsmInvalidRequestException"
30903171
},
3172+
{
3173+
"target": "com.amazonaws.cloudhsmv2#CloudHsmResourceLimitExceededException"
3174+
},
30913175
{
30923176
"target": "com.amazonaws.cloudhsmv2#CloudHsmResourceNotFoundException"
30933177
},

codegen/sdk/aws-models/cloudwatch-logs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5741,7 +5741,7 @@
57415741
"traits": {
57425742
"smithy.api#length": {
57435743
"min": 1,
5744-
"max": 256
5744+
"max": 50
57455745
},
57465746
"smithy.api#pattern": "^[\\.\\-_/#A-Za-z0-9]+$"
57475747
}
@@ -5751,7 +5751,7 @@
57515751
"traits": {
57525752
"smithy.api#length": {
57535753
"min": 1,
5754-
"max": 256
5754+
"max": 50
57555755
},
57565756
"smithy.api#pattern": "^[\\.\\-_/#A-Za-z0-9]+$"
57575757
}

codegen/sdk/aws-models/ec2.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26471,7 +26471,7 @@
2647126471
"target": "com.amazonaws.ec2#DeleteSecurityGroupRequest"
2647226472
},
2647326473
"output": {
26474-
"target": "smithy.api#Unit"
26474+
"target": "com.amazonaws.ec2#DeleteSecurityGroupResult"
2647526475
},
2647626476
"traits": {
2647726477
"smithy.api#documentation": "<p>Deletes a security group.</p>\n <p>If you attempt to delete a security group that is associated with an instance or network interface, is\n\t\t\t referenced by another security group in the same VPC, or has a VPC association, the operation fails with\n\t\t\t\t<code>DependencyViolation</code>.</p>",
@@ -26515,6 +26515,30 @@
2651526515
"smithy.api#input": {}
2651626516
}
2651726517
},
26518+
"com.amazonaws.ec2#DeleteSecurityGroupResult": {
26519+
"type": "structure",
26520+
"members": {
26521+
"Return": {
26522+
"target": "com.amazonaws.ec2#Boolean",
26523+
"traits": {
26524+
"aws.protocols#ec2QueryName": "Return",
26525+
"smithy.api#documentation": "<p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>",
26526+
"smithy.api#xmlName": "return"
26527+
}
26528+
},
26529+
"GroupId": {
26530+
"target": "com.amazonaws.ec2#SecurityGroupId",
26531+
"traits": {
26532+
"aws.protocols#ec2QueryName": "GroupId",
26533+
"smithy.api#documentation": "<p>The ID of the deleted security group.</p>",
26534+
"smithy.api#xmlName": "groupId"
26535+
}
26536+
}
26537+
},
26538+
"traits": {
26539+
"smithy.api#output": {}
26540+
}
26541+
},
2651826542
"com.amazonaws.ec2#DeleteSnapshot": {
2651926543
"type": "operation",
2652026544
"input": {
@@ -52254,7 +52278,7 @@
5225452278
}
5225552279
},
5225652280
"traits": {
52257-
"smithy.api#documentation": "<p>A filter name and value pair that is used to return a more specific list of results from a describe operation. \n Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>\n <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only \n results that match all of the specified filters.</p>"
52281+
"smithy.api#documentation": "<p>A filter name and value pair that is used to return a more specific list of results from a describe operation. \n Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.</p>\n <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only \n results that match all of the specified filters.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI\">List and filter using the CLI and API</a> in the <i>Amazon EC2 User Guide</i>.</p>"
5225852282
}
5225952283
},
5226052284
"com.amazonaws.ec2#FilterList": {
@@ -102869,7 +102893,7 @@
102869102893
"target": "com.amazonaws.ec2#StartDeclarativePoliciesReportResult"
102870102894
},
102871102895
"traits": {
102872-
"smithy.api#documentation": "<p>Generates an account status report. The report is generated asynchronously, and can\n take several hours to complete.</p>\n <p>The report provides the current status of all attributes supported by declarative\n policies for the accounts within the specified scope. The scope is determined by the\n specified <code>TargetId</code>, which can represent an individual account, or all the\n accounts that fall under the specified organizational unit (OU) or root (the entire\n Amazon Web Services Organization).</p>\n <p>The report is saved to your specified S3 bucket, using the following path structure\n (with the <i>italicized placeholders</i> representing your specific\n values):</p>\n <p>\n <code>s3://<i>amzn-s3-demo-bucket</i>/<i>your-optional-s3-prefix</i>/ec2_<i>targetId</i>_<i>reportId</i>_<i>yyyyMMdd</i>T<i>hhmm</i>Z.csv</code>\n </p>\n <p class=\"title\">\n <b>Prerequisites for generating a report</b>\n </p>\n <ul>\n <li>\n <p>The <code>StartDeclarativePoliciesReport</code> API can only be called by the\n management account or delegated administrators for the organization.</p>\n </li>\n <li>\n <p>An S3 bucket must be available before generating the report (you can create a\n new one or use an existing one), and it must have an appropriate bucket policy.\n For a sample S3 policy, see <i>Sample Amazon S3 policy</i> under\n .</p>\n </li>\n <li>\n <p>Trusted access must be enabled for the service for which the declarative\n policy will enforce a baseline configuration. If you use the Amazon Web Services Organizations\n console, this is done automatically when you enable declarative policies. The\n API uses the following service principal to identify the EC2 service:\n <code>ec2.amazonaws.com</code>. For more information on how to enable\n trusted access with the Amazon Web Services CLI and Amazon Web Services SDKs, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">Using\n Organizations with other Amazon Web Services services</a> in the\n <i>Amazon Web Services Organizations User Guide</i>.</p>\n </li>\n <li>\n <p>Only one report per organization can be generated at a time. Attempting to\n generate a report while another is in progress will result in an error.</p>\n </li>\n </ul>\n <p>For more information, including the required IAM permissions to run this API, see\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative_status-report.html\">Generating the account status report for declarative policies</a> in the\n <i>Amazon Web Services Organizations User Guide</i>.</p>"
102896+
"smithy.api#documentation": "<p>Generates an account status report. The report is generated asynchronously, and can\n take several hours to complete.</p>\n <p>The report provides the current status of all attributes supported by declarative\n policies for the accounts within the specified scope. The scope is determined by the\n specified <code>TargetId</code>, which can represent an individual account, or all the\n accounts that fall under the specified organizational unit (OU) or root (the entire\n Amazon Web Services Organization).</p>\n <p>The report is saved to your specified S3 bucket, using the following path structure\n (with the <i>italicized placeholders</i> representing your specific\n values):</p>\n <p>\n <code>s3://<i>amzn-s3-demo-bucket</i>/<i>your-optional-s3-prefix</i>/ec2_<i>targetId</i>_<i>reportId</i>_<i>yyyyMMdd</i>T<i>hhmm</i>Z.csv</code>\n </p>\n <p class=\"title\">\n <b>Prerequisites for generating a report</b>\n </p>\n <ul>\n <li>\n <p>The <code>StartDeclarativePoliciesReport</code> API can only be called by the\n management account or delegated administrators for the organization.</p>\n </li>\n <li>\n <p>An S3 bucket must be available before generating the report (you can create a\n new one or use an existing one), it must be in the same Region where the report\n generation request is made, and it must have an appropriate bucket policy. For a\n sample S3 policy, see <i>Sample Amazon S3 policy</i> under .</p>\n </li>\n <li>\n <p>Trusted access must be enabled for the service for which the declarative\n policy will enforce a baseline configuration. If you use the Amazon Web Services Organizations\n console, this is done automatically when you enable declarative policies. The\n API uses the following service principal to identify the EC2 service:\n <code>ec2.amazonaws.com</code>. For more information on how to enable\n trusted access with the Amazon Web Services CLI and Amazon Web Services SDKs, see <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">Using\n Organizations with other Amazon Web Services services</a> in the\n <i>Amazon Web Services Organizations User Guide</i>.</p>\n </li>\n <li>\n <p>Only one report per organization can be generated at a time. Attempting to\n generate a report while another is in progress will result in an error.</p>\n </li>\n </ul>\n <p>For more information, including the required IAM permissions to run this API, see\n <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative_status-report.html\">Generating the account status report for declarative policies</a> in the\n <i>Amazon Web Services Organizations User Guide</i>.</p>"
102873102897
}
102874102898
},
102875102899
"com.amazonaws.ec2#StartDeclarativePoliciesReportRequest": {
@@ -102885,7 +102909,7 @@
102885102909
"target": "com.amazonaws.ec2#String",
102886102910
"traits": {
102887102911
"smithy.api#clientOptional": {},
102888-
"smithy.api#documentation": "<p>The name of the S3 bucket where the report will be saved.</p>",
102912+
"smithy.api#documentation": "<p>The name of the S3 bucket where the report will be saved. The bucket must be in the\n same Region where the report generation request is made.</p>",
102889102913
"smithy.api#required": {}
102890102914
}
102891102915
},

0 commit comments

Comments
 (0)