diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index 10d9f16c979..777555eba93 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -383,7 +383,7 @@ "min": 1, "max": 30 }, - "smithy.api#pattern": "^[a-zA-Z0-9\\.\\*]+$" + "smithy.api#pattern": "^[a-zA-Z0-9\\.\\*\\-]+$" } }, "com.amazonaws.autoscaling#AllowedInstanceTypes": { @@ -2583,7 +2583,7 @@ } ], "traits": { - "smithy.api#documentation": "

Completes the lifecycle action for the specified token or instance with the specified\n result.

\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a launch template or launch configuration with a user data\n script that runs while an instance is in a wait state due to a lifecycle\n hook.

    \n
  2. \n
  3. \n

    (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke\n your Lambda function when an instance is put into a wait state due to a\n lifecycle hook.

    \n
  4. \n
  5. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish\n lifecycle notifications to the target.

    \n
  6. \n
  7. \n

    Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.

    \n
  8. \n
  9. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a wait state.

    \n
  10. \n
  11. \n

    \n If you finish before the timeout period ends, send a\n callback by using the CompleteLifecycleAction API\n call.\n

    \n
  12. \n
\n

For more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Completes the lifecycle action for the specified token or instance with the specified\n result.

\n

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:

\n
    \n
  1. \n

    (Optional) Create a launch template or launch configuration with a user data\n script that runs while an instance is in a wait state due to a lifecycle\n hook.

    \n
  2. \n
  3. \n

    (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke\n your Lambda function when an instance is put into a wait state due to a\n lifecycle hook.

    \n
  4. \n
  5. \n

    (Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish\n lifecycle notifications to the target.

    \n
  6. \n
  7. \n

    Create the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.

    \n
  8. \n
  9. \n

    If you need more time, record the lifecycle action heartbeat to keep the\n instance in a wait state.

    \n
  10. \n
  11. \n

    \n If you finish before the timeout period ends, send a\n callback by using the CompleteLifecycleAction API\n call.\n

    \n
  12. \n
\n

For more information, see Complete a lifecycle\n action in the Amazon EC2 Auto Scaling User Guide.

" } }, "com.amazonaws.autoscaling#CompleteLifecycleActionAnswer": { @@ -4418,7 +4418,13 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a warm pool and its instances.

\n

For more information, see Warm pools for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

Gets information about a warm pool and its instances.

\n

For more information, see Warm pools for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Instances", + "pageSize": "MaxRecords" + } } }, "com.amazonaws.autoscaling#DescribeWarmPoolAnswer": { @@ -4635,7 +4641,7 @@ } ], "traits": { - "smithy.api#documentation": "

Detaches one or more traffic sources from the specified Auto Scaling group.

\n

When you detach a taffic, it enters the Removing state while\n deregistering the instances in the group. When all instances are deregistered, then you\n can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.

" + "smithy.api#documentation": "

Detaches one or more traffic sources from the specified Auto Scaling group.

\n

When you detach a traffic source, it enters the Removing state while\n deregistering the instances in the group. When all instances are deregistered, then you\n can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.

" } }, "com.amazonaws.autoscaling#DetachTrafficSourcesResultType": { @@ -4883,7 +4889,7 @@ "min": 1, "max": 30 }, - "smithy.api#pattern": "^[a-zA-Z0-9\\.\\*]+$" + "smithy.api#pattern": "^[a-zA-Z0-9\\.\\*\\-]+$" } }, "com.amazonaws.autoscaling#ExcludedInstanceTypes": { @@ -7731,7 +7737,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { - "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a positive value.

\n

Required if the policy type is SimpleScaling. (Not used with any other\n policy type.)

" + "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a non-negative value.

\n

Required if the policy type is SimpleScaling. (Not used with any other\n policy type.)

" } }, "Cooldown": { @@ -8212,7 +8218,8 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the Auto Scaling group.

" + "smithy.api#documentation": "

The name of the Auto Scaling group.

", + "smithy.api#required": {} } } } @@ -8926,7 +8933,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { - "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.

\n

The amount by which to scale. The adjustment is based on the value that you specified\n in the AdjustmentType property (either an absolute number or a percentage).\n A positive value adds to the current capacity and a negative number subtracts from the\n current capacity.

", + "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity. For exact capacity, you must specify a non-negative value.

", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/ebs.json b/codegen/sdk-codegen/aws-models/ebs.json index fbcf5d4574e..a310cbbd5e8 100644 --- a/codegen/sdk-codegen/aws-models/ebs.json +++ b/codegen/sdk-codegen/aws-models/ebs.json @@ -50,18 +50,20 @@ } }, "com.amazonaws.ebs#AccessDeniedExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNAUTHORIZED_ACCOUNT", - "name": "UNAUTHORIZED_ACCOUNT" - }, - { - "value": "DEPENDENCY_ACCESS_DENIED", - "name": "DEPENDENCY_ACCESS_DENIED" + "type": "enum", + "members": { + "UNAUTHORIZED_ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNAUTHORIZED_ACCOUNT" } - ] + }, + "DEPENDENCY_ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPENDENCY_ACCESS_DENIED" + } + } } }, "com.amazonaws.ebs#Block": { @@ -176,14 +178,16 @@ } }, "com.amazonaws.ebs#ChecksumAggregationMethod": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LINEAR", - "name": "CHECKSUM_AGGREGATION_LINEAR" + "type": "enum", + "members": { + "CHECKSUM_AGGREGATION_LINEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LINEAR" } - ], + } + }, + "traits": { "smithy.api#length": { "min": 0, "max": 32 @@ -192,14 +196,16 @@ } }, "com.amazonaws.ebs#ChecksumAlgorithm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHA256", - "name": "CHECKSUM_ALGORITHM_SHA256" + "type": "enum", + "members": { + "CHECKSUM_ALGORITHM_SHA256": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA256" } - ], + } + }, + "traits": { "smithy.api#length": { "min": 0, "max": 32 @@ -236,7 +242,7 @@ } ], "traits": { - "smithy.api#documentation": "

Seals and completes the snapshot after all of the required blocks of data have been\n written to it. Completing the snapshot changes the status to completed. You\n cannot write new blocks to a snapshot after it has been completed.

", + "smithy.api#documentation": "

Seals and completes the snapshot after all of the required blocks of data have been\n written to it. Completing the snapshot changes the status to completed. You\n cannot write new blocks to a snapshot after it has been completed.

\n \n

You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

\n
", "smithy.api#http": { "method": "POST", "uri": "/snapshots/completion/{SnapshotId}", @@ -266,7 +272,7 @@ "Checksum": { "target": "com.amazonaws.ebs#Checksum", "traits": { - "smithy.api#documentation": "

An aggregated Base-64 SHA256 checksum based on the checksums of each written\n block.

\n

To generate the aggregated checksum using the linear aggregation method, arrange the\n checksums for each written block in ascending order of their block index, concatenate\n them to form a single string, and then generate the checksum on the entire string using\n the SHA256 algorithm.

", + "smithy.api#documentation": "

An aggregated Base-64 SHA256 checksum based on the checksums of each written\n block.

\n

To generate the aggregated checksum using the linear aggregation method, arrange the\n checksums for each written block in ascending order of their block index, concatenate\n them to form a single string, and then generate the checksum on the entire string using\n the SHA256 algorithm.

", "smithy.api#httpHeader": "x-amz-Checksum" } }, @@ -284,6 +290,9 @@ "smithy.api#httpHeader": "x-amz-Checksum-Aggregation-Method" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ebs#CompleteSnapshotResponse": { @@ -295,6 +304,9 @@ "smithy.api#documentation": "

The status of the snapshot.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ebs#ConcurrentLimitExceededException": { @@ -371,7 +383,7 @@ "name": "ebs" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to \n \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n \t\tyour Amazon EBS volumes through snapshots. This can be done without having to create new volumes \n \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.

\n \t\t\n \t

You can create incremental snapshots directly from data on-premises into volumes and the \n \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n \t\twrite your on-premises data to an snapshot during a disaster. Then after recovery, you can \n \t\trestore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and \n \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.

\n\n\n

This API reference provides detailed information about the actions, data types,\n parameters, and errors of the EBS direct APIs. For more information about the elements that\n make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User\n Guide. For more information about the supported Amazon Web Services Regions, endpoints,\n and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in\n the Amazon Web Services General Reference.

", + "smithy.api#documentation": "

You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to \n \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n \t\tyour Amazon EBS volumes through snapshots. This can be done without having to create new volumes \n \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.

\n

You can create incremental snapshots directly from data on-premises into volumes and the \n \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n \t\twrite your on-premises data to an snapshot during a disaster. Then after recovery, you can \n \t\trestore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and \n \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.

\n

This API reference provides detailed information about the actions, data types,\n parameters, and errors of the EBS direct APIs. For more information about the elements that\n make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User\n Guide. For more information about the supported Amazon Web Services Regions, endpoints,\n and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in\n the Amazon Web Services General Reference.

", "smithy.api#title": "Amazon Elastic Block Store", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -734,8 +746,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -747,8 +759,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -760,8 +772,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -773,8 +785,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -786,8 +798,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -799,8 +811,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -812,8 +824,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -825,8 +837,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -838,8 +850,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -851,8 +863,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -864,8 +876,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -877,8 +889,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -890,8 +902,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -903,8 +915,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -916,8 +928,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -929,8 +941,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -942,8 +954,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -955,8 +967,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -968,8 +980,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -981,8 +993,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -994,8 +1006,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1007,8 +1019,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1020,8 +1032,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1033,8 +1045,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1046,8 +1058,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1059,8 +1071,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1072,8 +1084,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1085,8 +1097,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1098,8 +1110,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1111,8 +1123,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1124,8 +1136,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1137,8 +1149,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1150,8 +1162,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1163,8 +1175,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1176,8 +1188,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1189,8 +1201,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1202,8 +1214,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1215,8 +1227,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1228,8 +1240,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1241,8 +1253,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1254,8 +1277,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1267,8 +1301,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1280,8 +1325,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1293,8 +1349,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1306,8 +1362,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1318,8 +1374,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1330,10 +1386,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1378,7 +1440,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the data in a block in an Amazon Elastic Block Store snapshot.

", + "smithy.api#documentation": "

Returns the data in a block in an Amazon Elastic Block Store snapshot.

\n \n

You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

\n
", "smithy.api#http": { "method": "GET", "uri": "/snapshots/{SnapshotId}/blocks/{BlockIndex}", @@ -1392,7 +1454,7 @@ "SnapshotId": { "target": "com.amazonaws.ebs#SnapshotId", "traits": { - "smithy.api#documentation": "

The ID of the snapshot containing the block from which to get data.

\n \n

If the specified snapshot is encrypted, you must have permission to use the \n KMS key that was used to encrypt the snapshot. For more information, see \n \n Using encryption in the Amazon Elastic Compute Cloud User \n Guide.

\n
", + "smithy.api#documentation": "

The ID of the snapshot containing the block from which to get data.

\n \n

If the specified snapshot is encrypted, you must have permission to use the \n KMS key that was used to encrypt the snapshot. For more information, see \n \n Using encryption in the Amazon Elastic Compute Cloud User \n Guide.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1413,6 +1475,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ebs#GetSnapshotBlockResponse": { @@ -1447,6 +1512,9 @@ "smithy.api#httpHeader": "x-amz-Checksum-Algorithm" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ebs#IdempotencyToken": { @@ -1467,7 +1535,7 @@ } }, "traits": { - "smithy.api#documentation": "

An internal error has occurred.

", + "smithy.api#documentation": "

An internal error has occurred. For more information see Error retries.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -1512,7 +1580,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about the blocks that are different between two\n Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.

", + "smithy.api#documentation": "

Returns information about the blocks that are different between two\n Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.

\n \n

You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

\n
", "smithy.api#http": { "method": "GET", "uri": "/snapshots/{SecondSnapshotId}/changedblocks", @@ -1531,14 +1599,14 @@ "FirstSnapshotId": { "target": "com.amazonaws.ebs#SnapshotId", "traits": { - "smithy.api#documentation": "

The ID of the first snapshot to use for the comparison.

\n \n

The FirstSnapshotID parameter must be specified with a\n SecondSnapshotId parameter; otherwise, an error occurs.

\n
", + "smithy.api#documentation": "

The ID of the first snapshot to use for the comparison.

\n \n

The FirstSnapshotID parameter must be specified with a\n SecondSnapshotId parameter; otherwise, an error occurs.

\n
", "smithy.api#httpQuery": "firstSnapshotId" } }, "SecondSnapshotId": { "target": "com.amazonaws.ebs#SnapshotId", "traits": { - "smithy.api#documentation": "

The ID of the second snapshot to use for the comparison.

\n \n

The SecondSnapshotId parameter must be specified with a\n FirstSnapshotID parameter; otherwise, an error occurs.

\n
", + "smithy.api#documentation": "

The ID of the second snapshot to use for the comparison.

\n \n

The SecondSnapshotId parameter must be specified with a\n FirstSnapshotID parameter; otherwise, an error occurs.

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1546,24 +1614,27 @@ "NextToken": { "target": "com.amazonaws.ebs#PageToken", "traits": { - "smithy.api#documentation": "

The token to request the next page of results.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", + "smithy.api#documentation": "

The token to request the next page of results.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", "smithy.api#httpQuery": "pageToken" } }, "MaxResults": { "target": "com.amazonaws.ebs#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of blocks to be returned by the request.

\n

Even if additional blocks can be retrieved from the snapshot, the request can \n return less blocks than MaxResults or an empty \n array of blocks.

\n

To retrieve the next set of blocks from the snapshot, make another request with \n the returned NextToken value. The value of \n NextToken is null when there are no \n more blocks to return.

", + "smithy.api#documentation": "

The maximum number of blocks to be returned by the request.

\n

Even if additional blocks can be retrieved from the snapshot, the request can \n return less blocks than MaxResults or an empty \n array of blocks.

\n

To retrieve the next set of blocks from the snapshot, make another request with \n the returned NextToken value. The value of \n NextToken is null when there are no \n more blocks to return.

", "smithy.api#httpQuery": "maxResults" } }, "StartingBlockIndex": { "target": "com.amazonaws.ebs#BlockIndex", "traits": { - "smithy.api#documentation": "

The block index from which the comparison should start.

\n

The list in the response will start from this block index or the next valid block\n index in the snapshots.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", + "smithy.api#documentation": "

The block index from which the comparison should start.

\n

The list in the response will start from this block index or the next valid block\n index in the snapshots.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", "smithy.api#httpQuery": "startingBlockIndex" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ebs#ListChangedBlocksResponse": { @@ -1599,6 +1670,9 @@ "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is null when there\n are no more results to return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ebs#ListSnapshotBlocks": { @@ -1630,7 +1704,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns information about the blocks in an Amazon Elastic Block Store snapshot.

", + "smithy.api#documentation": "

Returns information about the blocks in an Amazon Elastic Block Store snapshot.

\n \n

You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

\n
", "smithy.api#http": { "method": "GET", "uri": "/snapshots/{SnapshotId}/blocks", @@ -1657,24 +1731,27 @@ "NextToken": { "target": "com.amazonaws.ebs#PageToken", "traits": { - "smithy.api#documentation": "

The token to request the next page of results.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", + "smithy.api#documentation": "

The token to request the next page of results.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", "smithy.api#httpQuery": "pageToken" } }, "MaxResults": { "target": "com.amazonaws.ebs#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of blocks to be returned by the request.

\n

Even if additional blocks can be retrieved from the snapshot, the request can \n return less blocks than MaxResults or an empty \n array of blocks.

\n

To retrieve the next set of blocks from the snapshot, make another request with \n the returned NextToken value. The value of \n NextToken is null when there are no \n more blocks to return.

", + "smithy.api#documentation": "

The maximum number of blocks to be returned by the request.

\n

Even if additional blocks can be retrieved from the snapshot, the request can \n return less blocks than MaxResults or an empty \n array of blocks.

\n

To retrieve the next set of blocks from the snapshot, make another request with \n the returned NextToken value. The value of \n NextToken is null when there are no \n more blocks to return.

", "smithy.api#httpQuery": "maxResults" } }, "StartingBlockIndex": { "target": "com.amazonaws.ebs#BlockIndex", "traits": { - "smithy.api#documentation": "

The block index from which the list should start. The list in the response will start\n from this block index or the next valid block index in the snapshot.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", + "smithy.api#documentation": "

The block index from which the list should start. The list in the response will start\n from this block index or the next valid block index in the snapshot.

\n

If you specify NextToken, then \n StartingBlockIndex is ignored.

", "smithy.api#httpQuery": "startingBlockIndex" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ebs#ListSnapshotBlocksResponse": { @@ -1710,6 +1787,9 @@ "smithy.api#documentation": "

The token to use to retrieve the next page of results. This value is null when there\n are no more results to return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ebs#MaxResults": { @@ -1783,7 +1863,7 @@ "smithy.api#auth": [ "aws.auth#sigv4" ], - "smithy.api#documentation": "

Writes a block of data to a snapshot. If the specified block contains\n data, the existing data is overwritten. The target snapshot must be in the\n pending state.

\t\n \t

Data written to a snapshot must be aligned with 512-KiB sectors.

", + "smithy.api#documentation": "

Writes a block of data to a snapshot. If the specified block contains\n data, the existing data is overwritten. The target snapshot must be in the\n pending state.

\n

Data written to a snapshot must be aligned with 512-KiB sectors.

\n \n

You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

\n
", "smithy.api#http": { "method": "PUT", "uri": "/snapshots/{SnapshotId}/blocks/{BlockIndex}", @@ -1797,7 +1877,7 @@ "SnapshotId": { "target": "com.amazonaws.ebs#SnapshotId", "traits": { - "smithy.api#documentation": "

The ID of the snapshot.

\n \n

If the specified snapshot is encrypted, you must have permission to use \n the KMS key that was used to encrypt the snapshot. For more information, \n see \n Using encryption in the Amazon Elastic Compute Cloud User \n Guide..

\n
", + "smithy.api#documentation": "

The ID of the snapshot.

\n \n

If the specified snapshot is encrypted, you must have permission to use \n the KMS key that was used to encrypt the snapshot. For more information, \n see \n Using encryption in the Amazon Elastic Compute Cloud User \n Guide..

\n
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1813,7 +1893,7 @@ "BlockData": { "target": "com.amazonaws.ebs#BlockData", "traits": { - "smithy.api#documentation": "

The data to write to the block.

\n

The block data is not signed as part of the Signature Version 4 signing process. As a\n result, you must generate and provide a Base64-encoded SHA256 checksum for the block\n data using the x-amz-Checksum header. Also, you \n \tmust specify the checksum algorithm using the x-amz-Checksum-Algorithm \n \theader. The checksum that you provide is part of the Signature Version 4 signing process. \n \tIt is validated against a checksum generated by Amazon EBS to ensure the validity and authenticity \n \tof the data. If the checksums do not correspond, the request fails. For more information, \n \tsee \n Using checksums with the EBS direct APIs in the Amazon Elastic Compute Cloud User\n Guide.

", + "smithy.api#documentation": "

The data to write to the block.

\n

The block data is not signed as part of the Signature Version 4 signing process. As a\n result, you must generate and provide a Base64-encoded SHA256 checksum for the block\n data using the x-amz-Checksum header. Also, you \n \tmust specify the checksum algorithm using the x-amz-Checksum-Algorithm \n \theader. The checksum that you provide is part of the Signature Version 4 signing process. \n \tIt is validated against a checksum generated by Amazon EBS to ensure the validity and authenticity \n \tof the data. If the checksums do not correspond, the request fails. For more information, \n \tsee \n Using checksums with the EBS direct APIs in the Amazon Elastic Compute Cloud User\n Guide.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1821,7 +1901,7 @@ "DataLength": { "target": "com.amazonaws.ebs#DataLength", "traits": { - "smithy.api#documentation": "

The size of the data to write to the block, in bytes. Currently, the only supported\n size is 524288 bytes.

\n

Valid values: 524288\n

", + "smithy.api#documentation": "

The size of the data to write to the block, in bytes. Currently, the only supported\n size is 524288 bytes.

\n

Valid values: 524288\n

", "smithy.api#httpHeader": "x-amz-Data-Length", "smithy.api#required": {} } @@ -1849,6 +1929,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ebs#PutSnapshotBlockResponse": { @@ -1868,6 +1951,9 @@ "smithy.api#httpHeader": "x-amz-Checksum-Algorithm" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ebs#RequestThrottledException": { @@ -1884,28 +1970,32 @@ } }, "traits": { - "smithy.api#documentation": "

The number of API requests has exceed the maximum allowed API request throttling\n limit.

", + "smithy.api#documentation": "

The number of API requests has exceeded the maximum allowed API request \n throttling limit for the snapshot. For more information see Error retries.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.ebs#RequestThrottledExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCOUNT_THROTTLED", - "name": "ACCOUNT_THROTTLED" - }, - { - "value": "DEPENDENCY_REQUEST_THROTTLED", - "name": "DEPENDENCY_REQUEST_THROTTLED" - }, - { - "value": "RESOURCE_LEVEL_THROTTLE", - "name": "RESOURCE_LEVEL_THROTTLE" + "type": "enum", + "members": { + "ACCOUNT_THROTTLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT_THROTTLED" } - ] + }, + "DEPENDENCY_REQUEST_THROTTLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPENDENCY_REQUEST_THROTTLED" + } + }, + "RESOURCE_LEVEL_THROTTLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_LEVEL_THROTTLE" + } + } } }, "com.amazonaws.ebs#ResourceNotFoundException": { @@ -1928,18 +2018,55 @@ } }, "com.amazonaws.ebs#ResourceNotFoundExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SNAPSHOT_NOT_FOUND", - "name": "SNAPSHOT_NOT_FOUND" - }, - { - "value": "DEPENDENCY_RESOURCE_NOT_FOUND", - "name": "DEPENDENCY_RESOURCE_NOT_FOUND" + "type": "enum", + "members": { + "SNAPSHOT_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNAPSHOT_NOT_FOUND" + } + }, + "GRANT_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRANT_NOT_FOUND" + } + }, + "DEPENDENCY_RESOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPENDENCY_RESOURCE_NOT_FOUND" } - ] + }, + "IMAGE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMAGE_NOT_FOUND" + } + } + } + }, + "com.amazonaws.ebs#SSEType": { + "type": "enum", + "members": { + "SSE_EBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sse-ebs" + } + }, + "SSE_KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sse-kms" + } + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "none" + } + } } }, "com.amazonaws.ebs#ServiceQuotaExceededException": { @@ -1962,14 +2089,14 @@ } }, "com.amazonaws.ebs#ServiceQuotaExceededExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEPENDENCY_SERVICE_QUOTA_EXCEEDED", - "name": "DEPENDENCY_SERVICE_QUOTA_EXCEEDED" + "type": "enum", + "members": { + "DEPENDENCY_SERVICE_QUOTA_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPENDENCY_SERVICE_QUOTA_EXCEEDED" } - ] + } } }, "com.amazonaws.ebs#SnapshotId": { @@ -2017,7 +2144,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon EBS snapshot. The new snapshot enters the pending state\n after the request completes.

\n

After creating the snapshot, use PutSnapshotBlock to\n write blocks of data to the snapshot.

", + "smithy.api#documentation": "

Creates a new Amazon EBS snapshot. The new snapshot enters the pending state\n after the request completes.

\n

After creating the snapshot, use PutSnapshotBlock to\n write blocks of data to the snapshot.

\n \n

You should always retry requests that receive server (5xx) \n error responses, and ThrottlingException and RequestThrottledException \n client error responses. For more information see Error retries in the \n Amazon Elastic Compute Cloud User Guide.

\n
", "smithy.api#http": { "method": "POST", "uri": "/snapshots", @@ -2038,7 +2165,7 @@ "ParentSnapshotId": { "target": "com.amazonaws.ebs#SnapshotId", "traits": { - "smithy.api#documentation": "

The ID of the parent snapshot. If there is no parent snapshot, or if you are creating\n the first snapshot for an on-premises volume, omit this parameter.

\n

You can't specify ParentSnapshotId and \n Encrypted in the same request. If you specify both \n parameters, the request fails with ValidationException.

\n \n \n \n

The encryption status of the snapshot depends on the values that you specify for \n Encrypted, KmsKeyArn, \n and ParentSnapshotId, and whether your Amazon Web Services account \n is enabled for \n encryption by default. For more information, see \n Using encryption in the Amazon Elastic Compute Cloud User Guide.

\n \n \n

If you specify an encrypted parent snapshot, you must have permission to use the \n KMS key that was used to encrypt the parent snapshot. For more information, see \n \n Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User \n Guide.

\n
" + "smithy.api#documentation": "

The ID of the parent snapshot. If there is no parent snapshot, or if you are creating\n the first snapshot for an on-premises volume, omit this parameter.

\n

You can't specify ParentSnapshotId and \n Encrypted in the same request. If you specify both \n parameters, the request fails with ValidationException.

\n

The encryption status of the snapshot depends on the values that you specify for \n Encrypted, KmsKeyArn, \n and ParentSnapshotId, and whether your Amazon Web Services account \n is enabled for \n encryption by default. For more information, see \n Using encryption in the Amazon Elastic Compute Cloud User Guide.

\n \n

If you specify an encrypted parent snapshot, you must have permission to use the \n KMS key that was used to encrypt the parent snapshot. For more information, see \n \n Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User \n Guide.

\n
" } }, "Tags": { @@ -2056,28 +2183,31 @@ "ClientToken": { "target": "com.amazonaws.ebs#IdempotencyToken", "traits": { - "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. Idempotency ensures that an API request completes only once. With an idempotent \n request, if the original request completes successfully. The subsequent retries with the same \n client token return the result from the original successful request and they have no additional \n effect.

\n

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

\n

For more information, see \n \t\tIdempotency for StartSnapshot API in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. Idempotency ensures that an API request completes only once. With an idempotent \n request, if the original request completes successfully. The subsequent retries with the same \n client token return the result from the original successful request and they have no additional \n effect.

\n

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

\n

For more information, see \n \t\tIdempotency for StartSnapshot API in the Amazon Elastic Compute Cloud User Guide.

", "smithy.api#idempotencyToken": {} } }, "Encrypted": { "target": "com.amazonaws.ebs#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether to encrypt the snapshot.

\n \n

You can't specify Encrypted and \n ParentSnapshotId in the same request. If you specify both parameters, the \n request fails with ValidationException.

\n \n

The encryption status of the snapshot depends on the values that you specify for \n Encrypted, KmsKeyArn, \n and ParentSnapshotId, and whether your Amazon Web Services account \n is enabled for \n encryption by default. For more information, see \n Using encryption in the Amazon Elastic Compute Cloud User Guide.

\n \n \n \n \n

To create an encrypted snapshot, you must have permission to use the KMS key. For \n more information, see \n Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User \n Guide.

\n
" + "smithy.api#documentation": "

Indicates whether to encrypt the snapshot.

\n

You can't specify Encrypted and \n ParentSnapshotId in the same request. If you specify both parameters, the \n request fails with ValidationException.

\n

The encryption status of the snapshot depends on the values that you specify for \n Encrypted, KmsKeyArn, \n and ParentSnapshotId, and whether your Amazon Web Services account \n is enabled for \n encryption by default. For more information, see \n Using encryption in the Amazon Elastic Compute Cloud User Guide.

\n \n

To create an encrypted snapshot, you must have permission to use the KMS key. For \n more information, see \n Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User \n Guide.

\n
" } }, "KmsKeyArn": { "target": "com.amazonaws.ebs#KmsKeyArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot.

\n \n

The encryption status of the snapshot depends on the values that you specify for \n Encrypted, KmsKeyArn, \n and ParentSnapshotId, and whether your Amazon Web Services account \n is enabled for \n encryption by default. For more information, see \n Using encryption in the Amazon Elastic Compute Cloud User Guide.

\n \n \n \n

To create an encrypted snapshot, you must have permission to use the KMS key. For \n more information, see \n Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User \n Guide.

\n
" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot.

\n

The encryption status of the snapshot depends on the values that you specify for \n Encrypted, KmsKeyArn, \n and ParentSnapshotId, and whether your Amazon Web Services account \n is enabled for \n encryption by default. For more information, see \n Using encryption in the Amazon Elastic Compute Cloud User Guide.

\n \n

To create an encrypted snapshot, you must have permission to use the KMS key. For \n more information, see \n Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User \n Guide.

\n
" } }, "Timeout": { "target": "com.amazonaws.ebs#Timeout", "traits": { - "smithy.api#documentation": "

The amount of time (in minutes) after which the snapshot is automatically cancelled\n if:

\n \n

If no value is specified, the timeout defaults to 60 minutes.

" + "smithy.api#documentation": "

The amount of time (in minutes) after which the snapshot is automatically cancelled\n if:

\n \n

If no value is specified, the timeout defaults to 60 minutes.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.ebs#StartSnapshotResponse": { @@ -2142,26 +2272,41 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.

" } + }, + "SseType": { + "target": "com.amazonaws.ebs#SSEType", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.ebs#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "completed", - "name": "COMPLETED" - }, - { - "value": "pending", - "name": "PENDING" - }, - { - "value": "error", - "name": "ERROR" + "type": "enum", + "members": { + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "completed" } - ], + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pending" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "error" + } + } + }, + "traits": { "smithy.api#length": { "min": 0, "max": 32 @@ -2246,58 +2391,98 @@ } }, "com.amazonaws.ebs#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_CUSTOMER_KEY", - "name": "INVALID_CUSTOMER_KEY" - }, - { - "value": "INVALID_PAGE_TOKEN", - "name": "INVALID_PAGE_TOKEN" - }, - { - "value": "INVALID_BLOCK_TOKEN", - "name": "INVALID_BLOCK_TOKEN" - }, - { - "value": "INVALID_SNAPSHOT_ID", - "name": "INVALID_SNAPSHOT_ID" - }, - { - "value": "UNRELATED_SNAPSHOTS", - "name": "UNRELATED_SNAPSHOTS" - }, - { - "value": "INVALID_BLOCK", - "name": "INVALID_BLOCK" - }, - { - "value": "INVALID_CONTENT_ENCODING", - "name": "INVALID_CONTENT_ENCODING" - }, - { - "value": "INVALID_TAG", - "name": "INVALID_TAG" - }, - { - "value": "INVALID_DEPENDENCY_REQUEST", - "name": "INVALID_DEPENDENCY_REQUEST" - }, - { - "value": "INVALID_PARAMETER_VALUE", - "name": "INVALID_PARAMETER_VALUE" - }, - { - "value": "INVALID_VOLUME_SIZE", - "name": "INVALID_VOLUME_SIZE" - }, - { - "value": "CONFLICTING_BLOCK_UPDATE", - "name": "CONFLICTING_BLOCK_UPDATE" + "type": "enum", + "members": { + "INVALID_CUSTOMER_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_CUSTOMER_KEY" + } + }, + "INVALID_PAGE_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_PAGE_TOKEN" + } + }, + "INVALID_BLOCK_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_BLOCK_TOKEN" } - ] + }, + "INVALID_GRANT_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_GRANT_TOKEN" + } + }, + "INVALID_SNAPSHOT_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_SNAPSHOT_ID" + } + }, + "UNRELATED_SNAPSHOTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNRELATED_SNAPSHOTS" + } + }, + "INVALID_BLOCK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_BLOCK" + } + }, + "INVALID_CONTENT_ENCODING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_CONTENT_ENCODING" + } + }, + "INVALID_TAG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_TAG" + } + }, + "INVALID_DEPENDENCY_REQUEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DEPENDENCY_REQUEST" + } + }, + "INVALID_PARAMETER_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_PARAMETER_VALUE" + } + }, + "INVALID_VOLUME_SIZE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_VOLUME_SIZE" + } + }, + "CONFLICTING_BLOCK_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONFLICTING_BLOCK_UPDATE" + } + }, + "INVALID_IMAGE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_IMAGE_ID" + } + }, + "WRITE_REQUEST_TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WRITE_REQUEST_TIMEOUT" + } + } } }, "com.amazonaws.ebs#VolumeSize": { diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index ad0a3fa0f8a..7806a61faac 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -35828,6 +35828,43 @@ "outputToken": "NextToken", "items": "StoreImageTaskResults", "pageSize": "MaxResults" + }, + "smithy.waiters#waitable": { + "StoreImageTaskComplete": { + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "StoreImageTaskResults[].StoreTaskState", + "expected": "Completed", + "comparator": "allStringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "StoreImageTaskResults[].StoreTaskState", + "expected": "Failed", + "comparator": "anyStringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "StoreImageTaskResults[].StoreTaskState", + "expected": "InProgress", + "comparator": "anyStringEquals" + } + } + } + ], + "minDelay": 5 + } } } }, @@ -48457,6 +48494,14 @@ "smithy.api#documentation": "

Indicates whether encryption by default is enabled.

", "smithy.api#xmlName": "ebsEncryptionByDefault" } + }, + "SseType": { + "target": "com.amazonaws.ec2#SSEType", + "traits": { + "aws.protocols#ec2QueryName": "SseType", + "smithy.api#documentation": "

Reserved for future use.

", + "smithy.api#xmlName": "sseType" + } } }, "traits": { @@ -85338,6 +85383,14 @@ "smithy.api#documentation": "

The size of the volume, in GiB.

", "smithy.api#xmlName": "volumeSize" } + }, + "SseType": { + "target": "com.amazonaws.ec2#SSEType", + "traits": { + "aws.protocols#ec2QueryName": "SseType", + "smithy.api#documentation": "

Reserved for future use.

", + "smithy.api#xmlName": "sseType" + } } }, "traits": { @@ -86805,6 +86858,29 @@ "smithy.api#documentation": "

Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.

" } }, + "com.amazonaws.ec2#SSEType": { + "type": "enum", + "members": { + "sse_ebs": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sse-ebs" + } + }, + "sse_kms": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sse-kms" + } + }, + "none": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "none" + } + } + } + }, "com.amazonaws.ec2#ScheduledInstance": { "type": "structure", "members": { @@ -88956,6 +89032,14 @@ "smithy.api#documentation": "

Only for archived snapshots that are temporarily restored. Indicates the date and \n time when a temporarily restored snapshot will be automatically re-archived.

", "smithy.api#xmlName": "restoreExpiryTime" } + }, + "SseType": { + "target": "com.amazonaws.ec2#SSEType", + "traits": { + "aws.protocols#ec2QueryName": "SseType", + "smithy.api#documentation": "

Reserved for future use.

", + "smithy.api#xmlName": "sseType" + } } }, "traits": { @@ -89216,6 +89300,14 @@ "smithy.api#documentation": "

The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the \n \t\tAmazon Elastic Compute Cloud User Guide.

", "smithy.api#xmlName": "outpostArn" } + }, + "SseType": { + "target": "com.amazonaws.ec2#SSEType", + "traits": { + "aws.protocols#ec2QueryName": "SseType", + "smithy.api#documentation": "

Reserved for future use.

", + "smithy.api#xmlName": "sseType" + } } }, "traits": { @@ -99283,6 +99375,14 @@ "smithy.api#documentation": "

The throughput that the volume supports, in MiB/s.

", "smithy.api#xmlName": "throughput" } + }, + "SseType": { + "target": "com.amazonaws.ec2#SSEType", + "traits": { + "aws.protocols#ec2QueryName": "SseType", + "smithy.api#documentation": "

Reserved for future use.

", + "smithy.api#xmlName": "sseType" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/eks.json b/codegen/sdk-codegen/aws-models/eks.json index 32856dd383a..e6afaa5ddf1 100644 --- a/codegen/sdk-codegen/aws-models/eks.json +++ b/codegen/sdk-codegen/aws-models/eks.json @@ -641,8 +641,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -654,8 +654,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -667,8 +667,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -680,8 +680,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -693,8 +693,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -706,8 +706,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -719,8 +719,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -732,8 +732,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -745,8 +745,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -758,8 +758,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -771,8 +771,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -784,8 +784,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -797,8 +797,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -810,8 +810,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -823,8 +823,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -836,8 +836,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -849,8 +849,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -862,8 +862,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -875,8 +875,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -888,8 +888,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -901,8 +901,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -914,8 +914,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -927,8 +927,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -940,8 +940,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -953,8 +953,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -966,8 +966,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -979,8 +979,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -992,8 +992,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1005,8 +1005,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1018,8 +1018,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1031,8 +1031,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1044,8 +1044,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1057,8 +1057,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1070,8 +1070,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1083,8 +1083,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1096,8 +1096,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1109,8 +1109,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1122,8 +1122,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1135,8 +1135,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1148,8 +1148,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1161,8 +1172,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1174,8 +1196,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1187,8 +1220,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1200,8 +1244,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1213,8 +1257,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1225,8 +1269,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1237,10 +1281,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1655,6 +1705,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#AssociateEncryptionConfigResponse": { @@ -1663,6 +1716,9 @@ "update": { "target": "com.amazonaws.eks#Update" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#AssociateIdentityProviderConfig": { @@ -1733,6 +1789,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#AssociateIdentityProviderConfigResponse": { @@ -1747,6 +1806,9 @@ "smithy.api#documentation": "

The tags for the resource.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#AutoScalingGroup": { @@ -2399,6 +2461,9 @@ "smithy.api#documentation": "

The set of configuration values for the add-on that's created. The values that you\n provide are validated against the schema in \n DescribeAddonConfiguration\n .

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#CreateAddonResponse": { @@ -2407,6 +2472,9 @@ "addon": { "target": "com.amazonaws.eks#Addon" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#CreateCluster": { @@ -2516,6 +2584,9 @@ "smithy.api#documentation": "

An object representing the configuration of your local Amazon EKS cluster on\n an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review\n Local clusters\n for Amazon EKS on Amazon Web Services Outposts in the\n Amazon EKS User Guide. This object isn't available for creating Amazon EKS clusters\n on the Amazon Web Services cloud.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#CreateClusterResponse": { @@ -2527,6 +2598,9 @@ "smithy.api#documentation": "

The full description of your new cluster.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#CreateFargateProfile": { @@ -2616,6 +2690,9 @@ "smithy.api#documentation": "

The metadata to apply to the Fargate profile to assist with\n categorization and organization. Each tag consists of a key and an optional value. You\n define both. Fargate profile tags do not propagate to any other resources\n associated with the Fargate profile, such as the pods that are scheduled\n with it.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#CreateFargateProfileResponse": { @@ -2627,6 +2704,9 @@ "smithy.api#documentation": "

The full description of your new Fargate profile.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#CreateNodegroup": { @@ -2786,6 +2866,9 @@ "smithy.api#documentation": "

The AMI version of the Amazon EKS optimized AMI to use with your node group.\n By default, the latest available AMI version for the node group's current Kubernetes version\n is used. For information about Linux versions, see Amazon EKS optimized Amazon Linux AMI versions in the Amazon EKS User Guide. Amazon EKS managed node groups support the November 2022 and later releases of the\n Windows AMIs. For information about Windows versions, see Amazon EKS optimized Windows AMI versions in the\n Amazon EKS User Guide.

\n

If you specify launchTemplate, and your launch template uses a custom AMI, then don't specify \n releaseVersion, or the node group deployment will fail.\n For more information about using launch templates with Amazon EKS, see Launch template support in the Amazon EKS User Guide.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#CreateNodegroupResponse": { @@ -2797,6 +2880,9 @@ "smithy.api#documentation": "

The full description of your new node group.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DeleteAddon": { @@ -2860,6 +2946,9 @@ "smithy.api#httpQuery": "preserve" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DeleteAddonResponse": { @@ -2868,6 +2957,9 @@ "addon": { "target": "com.amazonaws.eks#Addon" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DeleteCluster": { @@ -2915,6 +3007,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DeleteClusterResponse": { @@ -2926,6 +3021,9 @@ "smithy.api#documentation": "

The full description of the cluster to delete.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DeleteFargateProfile": { @@ -2978,6 +3076,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DeleteFargateProfileResponse": { @@ -2989,6 +3090,9 @@ "smithy.api#documentation": "

The deleted Fargate profile.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DeleteNodegroup": { @@ -3047,6 +3151,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DeleteNodegroupResponse": { @@ -3058,6 +3165,9 @@ "smithy.api#documentation": "

The full description of your deleted node group.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DeregisterCluster": { @@ -3108,6 +3218,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DeregisterClusterResponse": { @@ -3116,6 +3229,9 @@ "cluster": { "target": "com.amazonaws.eks#Cluster" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeAddon": { @@ -3257,6 +3373,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeAddonConfigurationResponse": { @@ -3280,6 +3399,9 @@ "smithy.api#documentation": "

A JSON schema that's used to validate the configuration values that you provide when\n an addon is created or updated.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeAddonRequest": { @@ -3301,6 +3423,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeAddonResponse": { @@ -3309,6 +3434,9 @@ "addon": { "target": "com.amazonaws.eks#Addon" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeAddonVersions": { @@ -3397,6 +3525,9 @@ "smithy.api#httpQuery": "owners" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeAddonVersionsRequestMaxResults": { @@ -3423,6 +3554,9 @@ "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n DescribeAddonVersionsResponse where maxResults was used\n and the results exceeded the value of that parameter. Pagination continues from the end\n of the previous results that returned the nextToken value.

\n \n

This token should be treated as an opaque identifier that is used only to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeCluster": { @@ -3545,6 +3679,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeClusterResponse": { @@ -3556,6 +3693,9 @@ "smithy.api#documentation": "

The full description of your specified cluster.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeFargateProfile": { @@ -3656,6 +3796,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeFargateProfileResponse": { @@ -3667,6 +3810,9 @@ "smithy.api#documentation": "

The full description of your Fargate profile.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeIdentityProviderConfig": { @@ -3721,6 +3867,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeIdentityProviderConfigResponse": { @@ -3732,6 +3881,9 @@ "smithy.api#documentation": "

The object that represents an OpenID Connect (OIDC) identity provider\n configuration.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeNodegroup": { @@ -3835,6 +3987,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeNodegroupResponse": { @@ -3846,6 +4001,9 @@ "smithy.api#documentation": "

The full description of your node group.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DescribeUpdate": { @@ -3912,6 +4070,9 @@ "smithy.api#httpQuery": "addonName" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DescribeUpdateResponse": { @@ -3923,6 +4084,9 @@ "smithy.api#documentation": "

The full description of the specified update.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#DisassociateIdentityProviderConfig": { @@ -3987,6 +4151,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#DisassociateIdentityProviderConfigResponse": { @@ -3995,6 +4162,9 @@ "update": { "target": "com.amazonaws.eks#Update" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#EncryptionConfig": { @@ -4619,6 +4789,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListAddonsRequestMaxResults": { @@ -4645,6 +4818,9 @@ "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n ListAddonsResponse where maxResults was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken value.

\n \n

This token should be treated as an opaque identifier that is used only to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#ListClusters": { @@ -4708,6 +4884,9 @@ "smithy.api#httpQuery": "include" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListClustersRequestMaxResults": { @@ -4734,6 +4913,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future ListClusters\n request. When the results of a ListClusters request exceed\n maxResults, you can use this value to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#ListFargateProfiles": { @@ -4798,6 +4980,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListFargateProfilesResponse": { @@ -4815,6 +5000,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future\n ListFargateProfiles request. When the results of a\n ListFargateProfiles request exceed maxResults, you can use\n this value to retrieve the next page of results. This value is null when\n there are no more results to return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#ListIdentityProviderConfigs": { @@ -4882,6 +5070,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListIdentityProviderConfigsRequestMaxResults": { @@ -4908,6 +5099,9 @@ "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n ListIdentityProviderConfigsResponse where maxResults was\n used and the results exceeded the value of that parameter. Pagination continues from the\n end of the previous results that returned the nextToken value.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#ListNodegroups": { @@ -4975,6 +5169,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListNodegroupsRequestMaxResults": { @@ -5001,6 +5198,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future ListNodegroups\n request. When the results of a ListNodegroups request exceed\n maxResults, you can use this value to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#ListTagsForResource": { @@ -5039,6 +5239,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListTagsForResourceResponse": { @@ -5050,6 +5253,9 @@ "smithy.api#documentation": "

The tags for the resource.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#ListUpdates": { @@ -5128,6 +5334,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#ListUpdatesRequestMaxResults": { @@ -5154,6 +5363,9 @@ "smithy.api#documentation": "

The nextToken value to include in a future ListUpdates\n request. When the results of a ListUpdates request exceed\n maxResults, you can use this value to retrieve the next page of\n results. This value is null when there are no more results to\n return.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#LogSetup": { @@ -5474,6 +5686,12 @@ "smithy.api#enumValue": "IamInstanceProfileNotFound" } }, + "EC2_SUBNET_MISSING_IPV6_ASSIGNMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ec2SubnetMissingIpv6Assignment" + } + }, "IAM_LIMIT_EXCEEDED": { "target": "smithy.api#Unit", "traits": { @@ -5528,10 +5746,88 @@ "smithy.api#enumValue": "ClusterUnreachable" } }, - "EC2_SUBNET_MISSING_IPV6_ASSIGNMENT": { + "AMI_ID_NOT_FOUND": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "Ec2SubnetMissingIpv6Assignment" + "smithy.api#enumValue": "AmiIdNotFound" + } + }, + "AUTO_SCALING_GROUP_OPT_IN_REQUIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AutoScalingGroupOptInRequired" + } + }, + "AUTO_SCALING_GROUP_RATE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AutoScalingGroupRateLimitExceeded" + } + }, + "EC2_LAUNCH_TEMPLATE_DELETION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ec2LaunchTemplateDeletionFailure" + } + }, + "EC2_LAUNCH_TEMPLATE_INVALID_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ec2LaunchTemplateInvalidConfiguration" + } + }, + "EC2_LAUNCH_TEMPLATE_MAX_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ec2LaunchTemplateMaxLimitExceeded" + } + }, + "EC2_SUBNET_LIST_TOO_LONG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ec2SubnetListTooLong" + } + }, + "IAM_THROTTLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IamThrottling" + } + }, + "NODE_TERMINATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NodeTerminationFailure" + } + }, + "POD_EVICTION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PodEvictionFailure" + } + }, + "SOURCE_EC2_LAUNCH_TEMPLATE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SourceEc2LaunchTemplateNotFound" + } + }, + "LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LimitExceeded" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unknown" + } + }, + "AUTO_SCALING_GROUP_INSTANCE_REFRESH_ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AutoScalingGroupInstanceRefreshActive" } } } @@ -5975,6 +6271,9 @@ "smithy.api#documentation": "

The metadata that you apply to the cluster to assist with categorization and\n organization. Each tag consists of a key and an optional value, both of which you\n define. Cluster tags do not propagate to any other resources associated with the\n cluster.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#RegisterClusterResponse": { @@ -5983,6 +6282,9 @@ "cluster": { "target": "com.amazonaws.eks#Cluster" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#RemoteAccessConfig": { @@ -6266,11 +6568,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.eks#TagValue": { "type": "string", @@ -6408,11 +6716,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.eks#Update": { "type": "structure", @@ -6545,6 +6859,9 @@ "smithy.api#documentation": "

The set of configuration values for the add-on that's created. The values that you\n provide are validated against the schema in DescribeAddonConfiguration.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#UpdateAddonResponse": { @@ -6553,6 +6870,9 @@ "update": { "target": "com.amazonaws.eks#Update" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#UpdateClusterConfig": { @@ -6619,6 +6939,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#UpdateClusterConfigResponse": { @@ -6627,6 +6950,9 @@ "update": { "target": "com.amazonaws.eks#Update" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#UpdateClusterVersion": { @@ -6691,6 +7017,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#UpdateClusterVersionResponse": { @@ -6702,6 +7031,9 @@ "smithy.api#documentation": "

The full description of the specified update

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#UpdateLabelsPayload": { @@ -6811,6 +7143,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#UpdateNodegroupConfigResponse": { @@ -6819,6 +7154,9 @@ "update": { "target": "com.amazonaws.eks#Update" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#UpdateNodegroupVersion": { @@ -6909,6 +7247,9 @@ "smithy.api#idempotencyToken": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.eks#UpdateNodegroupVersionResponse": { @@ -6917,6 +7258,9 @@ "update": { "target": "com.amazonaws.eks#Update" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.eks#UpdateParam": { diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index dab8e74076c..24c63f56607 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -54770,6 +54770,9 @@ "smithy.api#documentation": "

Information about the evaluation status of the rules for the training job.

" } }, + "ProfilerConfig": { + "target": "com.amazonaws.sagemaker#ProfilerConfig" + }, "Environment": { "target": "com.amazonaws.sagemaker#TrainingEnvironmentMap", "traits": {