diff --git a/codegen/sdk-codegen/aws-models/acm-pca.json b/codegen/sdk-codegen/aws-models/acm-pca.json index e188fe9d699..2a5acd9880a 100644 --- a/codegen/sdk-codegen/aws-models/acm-pca.json +++ b/codegen/sdk-codegen/aws-models/acm-pca.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.acmpca#ACMPrivateCA": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ACM PCA", - "arnNamespace": "acm-pca", - "cloudFormationName": "ACMPCA", - "cloudTrailEventSource": "acmpca.amazonaws.com", - "endpointPrefix": "acm-pca" - }, - "aws.auth#sigv4": { - "name": "acm-pca" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

This is the Certificate Manager Private Certificate Authority (PCA) API Reference. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing a private certificate authority (CA) for your organization.

\n\t\t

The documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee Amazon Web Services SDKs.

\n\t\t

Each ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs.

\n\t\t

To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the Service Quotas\n\t\t\tconsole.

", - "smithy.api#title": "AWS Certificate Manager Private Certificate Authority" - }, "version": "2017-08-22", "operations": [ { @@ -117,7 +102,1905 @@ { "target": "com.amazonaws.acmpca#UpdateCertificateAuthority" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ACM PCA", + "arnNamespace": "acm-pca", + "cloudFormationName": "ACMPCA", + "cloudTrailEventSource": "acmpca.amazonaws.com", + "endpointPrefix": "acm-pca" + }, + "aws.auth#sigv4": { + "name": "acm-pca" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

This is the Private Certificate Authority (PCA) API Reference. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing a private certificate authority (CA) for your organization.

\n\t\t

The documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee Amazon Web Services SDKs.

\n\t\t

Each ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs.

\n\t\t

To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the Service Quotas\n\t\t\tconsole.

", + "smithy.api#title": "AWS Certificate Manager Private Certificate Authority", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "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": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "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": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "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": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "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": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://acm-pca.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } }, "com.amazonaws.acmpca#ASN1PrintableString64": { "type": "string", @@ -219,7 +2102,7 @@ "CustomAttributes": { "target": "com.amazonaws.acmpca#CustomAttributeList", "traits": { - "smithy.api#documentation": "

\n\t\t

Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of\n\t\t\twhich consists of an object identifier (OID) and a value. For more information, see\n\t\t\tNIST’s definition of Object Identifier (OID).

\n\t\t \n\t\t\t

Custom attributes cannot be used in combination with standard attributes.

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

\n\t\t

Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of\n\t\t\twhich consists of an object identifier (OID) and a value. For more information, see\n\t\t\tNIST’s definition of Object Identifier (OID).

\n\t\t \n\t\t\t

Custom attributes cannot be used in combination with standard attributes.

\n\t\t
" } } }, @@ -286,22 +2169,26 @@ } }, "com.amazonaws.acmpca#AccessMethodType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CA_REPOSITORY", - "name": "CA_REPOSITORY" - }, - { - "value": "RESOURCE_PKI_MANIFEST", - "name": "RESOURCE_PKI_MANIFEST" - }, - { - "value": "RESOURCE_PKI_NOTIFY", - "name": "RESOURCE_PKI_NOTIFY" + "type": "enum", + "members": { + "CA_REPOSITORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CA_REPOSITORY" } - ] + }, + "RESOURCE_PKI_MANIFEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_PKI_MANIFEST" + } + }, + "RESOURCE_PKI_NOTIFY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_PKI_NOTIFY" + } + } } }, "com.amazonaws.acmpca#AccountId": { @@ -327,22 +2214,26 @@ } }, "com.amazonaws.acmpca#ActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IssueCertificate", - "name": "IssueCertificate" - }, - { - "value": "GetCertificate", - "name": "GetCertificate" - }, - { - "value": "ListPermissions", - "name": "ListPermissions" + "type": "enum", + "members": { + "IssueCertificate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IssueCertificate" + } + }, + "GetCertificate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GetCertificate" + } + }, + "ListPermissions": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ListPermissions" } - ] + } } }, "com.amazonaws.acmpca#ApiPassthrough": { @@ -383,37 +2274,43 @@ } }, "com.amazonaws.acmpca#AuditReportResponseFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "JSON", - "name": "JSON" - }, - { - "value": "CSV", - "name": "CSV" + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + }, + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" } - ] + } } }, "com.amazonaws.acmpca#AuditReportStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" } - ] + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.acmpca#Base64String1To4096": { @@ -427,7 +2324,10 @@ } }, "com.amazonaws.acmpca#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.acmpca#CertificateAuthorities": { "type": "list", @@ -521,6 +2421,12 @@ "traits": { "smithy.api#documentation": "

Defines a cryptographic key management compliance standard used for handling CA keys.

\n\t\t

Default: FIPS_140_2_LEVEL_3_OR_HIGHER

\n\t\t

Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must\n\t\t\texplicitly specify this parameter and value when creating a CA in that Region.\n\t\t\tSpecifying a different value (or no value) results in an\n\t\t\t\tInvalidArgsException with the message \"A certificate authority cannot\n\t\t\tbe created in this region with the specified security standard.\"

" } + }, + "UsageMode": { + "target": "com.amazonaws.acmpca#CertificateAuthorityUsageMode", + "traits": { + "smithy.api#documentation": "

Specifies whether the CA issues general-purpose certificates that typically require a\n\t\t\trevocation mechanism, or short-lived certificates that may optionally omit revocation because \n\t\t\tthey expire quickly. Short-lived certificate validity is limited to seven days.

\n\t\t

The default value is GENERAL_PURPOSE.

" + } } }, "traits": { @@ -563,53 +2469,84 @@ } }, "com.amazonaws.acmpca#CertificateAuthorityStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "PENDING_CERTIFICATE", - "name": "PENDING_CERTIFICATE" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "EXPIRED", - "name": "EXPIRED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "PENDING_CERTIFICATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING_CERTIFICATE" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "EXPIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPIRED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.acmpca#CertificateAuthorityType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROOT", - "name": "ROOT" - }, - { - "value": "SUBORDINATE", - "name": "SUBORDINATE" + "type": "enum", + "members": { + "ROOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROOT" + } + }, + "SUBORDINATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUBORDINATE" + } + } + } + }, + "com.amazonaws.acmpca#CertificateAuthorityUsageMode": { + "type": "enum", + "members": { + "GENERAL_PURPOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERAL_PURPOSE" + } + }, + "SHORT_LIVED_CERTIFICATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHORT_LIVED_CERTIFICATE" } - ] + } } }, "com.amazonaws.acmpca#CertificateBody": { @@ -825,6 +2762,12 @@ "traits": { "smithy.api#documentation": "

Key-value pairs that will be attached to the new private CA. You can associate up to\n\t\t\t50 tags with a private CA. For information using tags with IAM to manage permissions,\n\t\t\tsee Controlling Access Using IAM Tags.

" } + }, + "UsageMode": { + "target": "com.amazonaws.acmpca#CertificateAuthorityUsageMode", + "traits": { + "smithy.api#documentation": "

Specifies whether the CA issues general-purpose certificates that typically require a\n revocation mechanism, or short-lived certificates that may optionally omit revocation because\n they expire quickly. Short-lived certificate validity is limited to seven days.

\n

The default value is GENERAL_PURPOSE.

" + } } } }, @@ -909,7 +2852,7 @@ "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.\n\t\t\tYou can use this value to enable certificate revocation for a new CA when you call the\n\t\t\t\tCreateCertificateAuthority action or for an existing CA when you call the\n\t\t\t\tUpdateCertificateAuthority action.

", "smithy.api#required": {} } @@ -917,7 +2860,6 @@ "ExpirationInDays": { "target": "com.amazonaws.acmpca#Integer1To5000", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Validity period of the CRL in days.

" } }, @@ -941,7 +2883,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains configuration information for a certificate revocation list (CRL). Your\n\t\t\tprivate certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You\n\t\t\tcan enable CRLs for your new or an existing private CA by setting the Enabled parameter to true. Your private CA\n\t\t\twrites CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by\n\t\t\tspecifying a value for the CustomCname parameter. Your\n\t\t\tprivate CA copies the CNAME or the S3 bucket name to the CRL\n\t\t\t\tDistribution Points extension of each certificate it issues. Your S3\n\t\t\tbucket policy must give write permission to ACM Private CA.

\n\t\t

ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. \n For more information, see Encrypting Your\n\t\t\tCRLs.

\n\t\t

Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed prior to a\n\t\t\tcertificate's expiration date or when a certificate is revoked. When a certificate is\n\t\t\trevoked, it appears in the CRL until the certificate expires, and then in one additional\n\t\t\tCRL after expiration, and it always appears in the audit report.

\n\t\t

A CRL is typically updated approximately 30 minutes after a certificate \n\tis revoked. If for any reason a CRL update fails, ACM Private CA makes further attempts \n\tevery 15 minutes.

\n\t\t

CRLs contain the following fields:

\n\t\t \n\t\t

Certificate revocation lists created by ACM Private CA are DER-encoded. You can use the\n\t\t\tfollowing OpenSSL command to list a CRL.

\n\t\t

\n openssl crl -inform DER -text -in crl_path\n\t\t\t-noout\n

\n\t\t

For more information, see Planning a certificate revocation list\n\t\t\t\t(CRL) in the Certificate Manager Private Certificate Authority (PCA) User Guide\n

" + "smithy.api#documentation": "

Contains configuration information for a certificate revocation list (CRL). Your\n\t\t\tprivate certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You\n\t\t\tcan enable CRLs for your new or an existing private CA by setting the Enabled parameter to true. Your private CA\n\t\t\twrites CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by\n\t\t\tspecifying a value for the CustomCname parameter. Your\n\t\t\tprivate CA copies the CNAME or the S3 bucket name to the CRL\n\t\t\t\tDistribution Points extension of each certificate it issues. Your S3\n\t\t\tbucket policy must give write permission to ACM Private CA.

\n\t\t

ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. \n For more information, see Encrypting Your\n\t\t\tCRLs.

\n\t\t

Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed prior to a\n\t\t\tcertificate's expiration date or when a certificate is revoked. When a certificate is\n\t\t\trevoked, it appears in the CRL until the certificate expires, and then in one additional\n\t\t\tCRL after expiration, and it always appears in the audit report.

\n\t\t

A CRL is typically updated approximately 30 minutes after a certificate \n\tis revoked. If for any reason a CRL update fails, ACM Private CA makes further attempts \n\tevery 15 minutes.

\n\t\t

CRLs contain the following fields:

\n\t\t \n\t\t

Certificate revocation lists created by ACM Private CA are DER-encoded. You can use the\n\t\t\tfollowing OpenSSL command to list a CRL.

\n\t\t

\n openssl crl -inform DER -text -in crl_path\n\t\t\t-noout\n

\n\t\t

For more information, see Planning a certificate revocation list\n\t\t\t\t(CRL) in the Private Certificate Authority (PCA) User Guide\n

" } }, "com.amazonaws.acmpca#CsrBlob": { @@ -1016,7 +2958,7 @@ "ObjectIdentifier": { "target": "com.amazonaws.acmpca#CustomObjectIdentifier", "traits": { - "smithy.api#documentation": "

\n\t\t

Specifies the object identifier (OID) of the X.509 extension. For more information, see the\n\t\t\t\tGlobal OID reference database.\n\t\t

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

\n\t\t

Specifies the object identifier (OID) of the X.509 extension. For more information,\n\t\t\tsee the Global OID reference database.\n\t\t

", "smithy.api#required": {} } }, @@ -1030,7 +2972,7 @@ "Critical": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

\n\t\t

Specifies the critical flag of the X.509 extension.

" } } @@ -1396,46 +3338,62 @@ } }, "com.amazonaws.acmpca#ExtendedKeyUsageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SERVER_AUTH", - "name": "SERVER_AUTH" - }, - { - "value": "CLIENT_AUTH", - "name": "CLIENT_AUTH" - }, - { - "value": "CODE_SIGNING", - "name": "CODE_SIGNING" - }, - { - "value": "EMAIL_PROTECTION", - "name": "EMAIL_PROTECTION" - }, - { - "value": "TIME_STAMPING", - "name": "TIME_STAMPING" - }, - { - "value": "OCSP_SIGNING", - "name": "OCSP_SIGNING" - }, - { - "value": "SMART_CARD_LOGIN", - "name": "SMART_CARD_LOGIN" - }, - { - "value": "DOCUMENT_SIGNING", - "name": "DOCUMENT_SIGNING" - }, - { - "value": "CERTIFICATE_TRANSPARENCY", - "name": "CERTIFICATE_TRANSPARENCY" + "type": "enum", + "members": { + "SERVER_AUTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER_AUTH" + } + }, + "CLIENT_AUTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLIENT_AUTH" + } + }, + "CODE_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODE_SIGNING" } - ] + }, + "EMAIL_PROTECTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL_PROTECTION" + } + }, + "TIME_STAMPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIME_STAMPING" + } + }, + "OCSP_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OCSP_SIGNING" + } + }, + "SMART_CARD_LOGIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMART_CARD_LOGIN" + } + }, + "DOCUMENT_SIGNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOCUMENT_SIGNING" + } + }, + "CERTIFICATE_TRANSPARENCY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CERTIFICATE_TRANSPARENCY" + } + } } }, "com.amazonaws.acmpca#Extensions": { @@ -1474,22 +3432,26 @@ } }, "com.amazonaws.acmpca#FailureReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REQUEST_TIMED_OUT", - "name": "REQUEST_TIMED_OUT" - }, - { - "value": "UNSUPPORTED_ALGORITHM", - "name": "UNSUPPORTED_ALGORITHM" - }, - { - "value": "OTHER", - "name": "OTHER" + "type": "enum", + "members": { + "REQUEST_TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUEST_TIMED_OUT" + } + }, + "UNSUPPORTED_ALGORITHM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSUPPORTED_ALGORITHM" } - ] + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + } } }, "com.amazonaws.acmpca#GeneralName": { @@ -1894,7 +3856,6 @@ "com.amazonaws.acmpca#Integer1To5000": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -2087,41 +4048,49 @@ } }, "com.amazonaws.acmpca#KeyAlgorithm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RSA_2048", - "name": "RSA_2048" - }, - { - "value": "RSA_4096", - "name": "RSA_4096" - }, - { - "value": "EC_prime256v1", - "name": "EC_prime256v1" - }, - { - "value": "EC_secp384r1", - "name": "EC_secp384r1" + "type": "enum", + "members": { + "RSA_2048": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RSA_2048" + } + }, + "RSA_4096": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RSA_4096" + } + }, + "EC_prime256v1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC_prime256v1" + } + }, + "EC_secp384r1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC_secp384r1" } - ] + } } }, "com.amazonaws.acmpca#KeyStorageSecurityStandard": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FIPS_140_2_LEVEL_2_OR_HIGHER", - "name": "FIPS_140_2_LEVEL_2_OR_HIGHER" - }, - { - "value": "FIPS_140_2_LEVEL_3_OR_HIGHER", - "name": "FIPS_140_2_LEVEL_3_OR_HIGHER" + "type": "enum", + "members": { + "FIPS_140_2_LEVEL_2_OR_HIGHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIPS_140_2_LEVEL_2_OR_HIGHER" + } + }, + "FIPS_140_2_LEVEL_3_OR_HIGHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIPS_140_2_LEVEL_3_OR_HIGHER" } - ] + } } }, "com.amazonaws.acmpca#KeyUsage": { @@ -2130,54 +4099,63 @@ "DigitalSignature": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used for digital signing.

" } }, "NonRepudiation": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used for non-repudiation.

" } }, "KeyEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to encipher data.

" } }, "DataEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to decipher data.

" } }, "KeyAgreement": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used in a key-agreement protocol.

" } }, "KeyCertSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to sign certificates.

" } }, "CRLSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to sign CRLs.

" } }, "EncipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used only to encipher data.

" } }, "DecipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used only to decipher data.

" } } @@ -2446,7 +4424,6 @@ "com.amazonaws.acmpca#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2468,7 +4445,7 @@ "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating\n\t\t\tcertificate revocation status.

", "smithy.api#required": {} } @@ -2476,7 +4453,7 @@ "OcspCustomCname": { "target": "com.amazonaws.acmpca#String253", "traits": { - "smithy.api#documentation": "

By default, ACM Private CA injects an Amazon Web Services domain into certificates being validated by\n\t\t\tthe Online Certificate Status Protocol (OCSP). A customer can alternatively use this\n\t\t\tobject to define a CNAME specifying a customized OCSP domain.

\n\t\t

Note: The value of the CNAME must not include a protocol prefix such as \"http://\" or\n\t\t\t\"https://\".

\n\t\t

For more information, see Customizing Online Certificate Status Protocol\n\t\t\t\t(OCSP) in the Certificate Manager Private Certificate Authority (PCA) User Guide.

" + "smithy.api#documentation": "

By default, ACM Private CA injects an Amazon Web Services domain into certificates being validated by\n\t\t\tthe Online Certificate Status Protocol (OCSP). A customer can alternatively use this\n\t\t\tobject to define a CNAME specifying a customized OCSP domain.

\n\t\t

Note: The value of the CNAME must not include a protocol prefix such as \"http://\" or\n\t\t\t\"https://\".

\n\t\t

For more information, see Customizing Online Certificate Status Protocol\n\t\t\t\t(OCSP) in the Private Certificate Authority (PCA) User Guide.

" } } }, @@ -2509,7 +4486,6 @@ "com.amazonaws.acmpca#PermanentDeletionTimeInDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 7, "max": 30 @@ -2605,14 +4581,14 @@ } }, "com.amazonaws.acmpca#PolicyQualifierId": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CPS", - "name": "CPS" + "type": "enum", + "members": { + "CPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CPS" } - ] + } } }, "com.amazonaws.acmpca#PolicyQualifierInfo": { @@ -2652,7 +4628,6 @@ "com.amazonaws.acmpca#PositiveLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2786,18 +4761,20 @@ } }, "com.amazonaws.acmpca#ResourceOwner": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SELF", - "name": "SELF" - }, - { - "value": "OTHER_ACCOUNTS", - "name": "OTHER_ACCOUNTS" + "type": "enum", + "members": { + "SELF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SELF" } - ] + }, + "OTHER_ACCOUNTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER_ACCOUNTS" + } + } } }, "com.amazonaws.acmpca#RestoreCertificateAuthority": { @@ -2852,46 +4829,60 @@ } }, "traits": { - "smithy.api#documentation": "

Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your private certificate authority (CA)\n\t\t\tcan configure Online Certificate Status Protocol (OCSP) support and/or maintain a\n\t\t\tcertificate revocation list (CRL). OCSP returns validation information about\n\t\t\tcertificates as requested by clients, and a CRL contains an updated list of certificates\n\t\t\trevoked by your CA. For more information, see RevokeCertificate and Setting up a\n\t\t\t\tcertificate revocation method in the Certificate Manager Private Certificate Authority (PCA) User\n\t\t\t\tGuide.

" + "smithy.api#documentation": "

Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your private certificate authority (CA)\n\t\t\tcan configure Online Certificate Status Protocol (OCSP) support and/or maintain a\n\t\t\tcertificate revocation list (CRL). OCSP returns validation information about\n\t\t\tcertificates as requested by clients, and a CRL contains an updated list of certificates\n\t\t\trevoked by your CA. For more information, see RevokeCertificate and Setting up a\n\t\t\t\tcertificate revocation method in the Private Certificate Authority (PCA) User\n\t\t\t\tGuide.

" } }, "com.amazonaws.acmpca#RevocationReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNSPECIFIED", - "name": "UNSPECIFIED" - }, - { - "value": "KEY_COMPROMISE", - "name": "KEY_COMPROMISE" - }, - { - "value": "CERTIFICATE_AUTHORITY_COMPROMISE", - "name": "CERTIFICATE_AUTHORITY_COMPROMISE" - }, - { - "value": "AFFILIATION_CHANGED", - "name": "AFFILIATION_CHANGED" - }, - { - "value": "SUPERSEDED", - "name": "SUPERSEDED" - }, - { - "value": "CESSATION_OF_OPERATION", - "name": "CESSATION_OF_OPERATION" - }, - { - "value": "PRIVILEGE_WITHDRAWN", - "name": "PRIVILEGE_WITHDRAWN" - }, - { - "value": "A_A_COMPROMISE", - "name": "A_A_COMPROMISE" + "type": "enum", + "members": { + "UNSPECIFIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSPECIFIED" + } + }, + "KEY_COMPROMISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_COMPROMISE" + } + }, + "CERTIFICATE_AUTHORITY_COMPROMISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CERTIFICATE_AUTHORITY_COMPROMISE" + } + }, + "AFFILIATION_CHANGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AFFILIATION_CHANGED" + } + }, + "SUPERSEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUPERSEDED" + } + }, + "CESSATION_OF_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CESSATION_OF_OPERATION" + } + }, + "PRIVILEGE_WITHDRAWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVILEGE_WITHDRAWN" + } + }, + "A_A_COMPROMISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "A_A_COMPROMISE" } - ] + } } }, "com.amazonaws.acmpca#RevokeCertificate": { @@ -2980,49 +4971,61 @@ } }, "com.amazonaws.acmpca#S3ObjectAcl": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PUBLIC_READ", - "name": "PUBLIC_READ" - }, - { - "value": "BUCKET_OWNER_FULL_CONTROL", - "name": "BUCKET_OWNER_FULL_CONTROL" + "type": "enum", + "members": { + "PUBLIC_READ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLIC_READ" + } + }, + "BUCKET_OWNER_FULL_CONTROL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUCKET_OWNER_FULL_CONTROL" } - ] + } } }, "com.amazonaws.acmpca#SigningAlgorithm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHA256WITHECDSA", - "name": "SHA256WITHECDSA" - }, - { - "value": "SHA384WITHECDSA", - "name": "SHA384WITHECDSA" - }, - { - "value": "SHA512WITHECDSA", - "name": "SHA512WITHECDSA" - }, - { - "value": "SHA256WITHRSA", - "name": "SHA256WITHRSA" - }, - { - "value": "SHA384WITHRSA", - "name": "SHA384WITHRSA" - }, - { - "value": "SHA512WITHRSA", - "name": "SHA512WITHRSA" + "type": "enum", + "members": { + "SHA256WITHECDSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA256WITHECDSA" + } + }, + "SHA384WITHECDSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA384WITHECDSA" + } + }, + "SHA512WITHECDSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA512WITHECDSA" + } + }, + "SHA256WITHRSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA256WITHRSA" + } + }, + "SHA384WITHRSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA384WITHRSA" + } + }, + "SHA512WITHRSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHA512WITHRSA" } - ] + } } }, "com.amazonaws.acmpca#String": { @@ -3350,7 +5353,6 @@ "Value": { "target": "com.amazonaws.acmpca#PositiveLong", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

A long integer interpreted according to the value of Type, below.

", "smithy.api#required": {} } @@ -3364,34 +5366,42 @@ } }, "traits": { - "smithy.api#documentation": "

Validity specifies the period of time during which a certificate is valid. Validity\n\t\t\tcan be expressed as an explicit date and time when the validity of a certificate starts\n\t\t\tor expires, or as a span of time after issuance, stated in days, months, or years. For\n\t\t\tmore information, see Validity\n\t\t\tin RFC 5280.

\n\t\t

ACM Private CA API consumes the Validity data type differently in two\n\t\t\tdistinct parameters of the IssueCertificate action. The required parameter\n\t\t\t\tIssueCertificate:Validity specifies the end of a\n\t\t\tcertificate's validity period. The optional parameter\n\t\t\t\tIssueCertificate:ValidityNotBefore specifies a customized\n\t\t\tstarting time for the validity period.

" + "smithy.api#documentation": "

Validity specifies the period of time during which a certificate is valid. Validity\n\t\t\tcan be expressed as an explicit date and time when the validity of a certificate starts\n\t\t\tor expires, or as a span of time after issuance, stated in days, months, or years. For\n\t\t\tmore information, see Validity in RFC 5280.

\n\t\t

ACM Private CA API consumes the Validity data type differently in two\n\t\t\tdistinct parameters of the IssueCertificate action. The required parameter\n\t\t\t\tIssueCertificate:Validity specifies the end of a\n\t\t\tcertificate's validity period. The optional parameter\n\t\t\t\tIssueCertificate:ValidityNotBefore specifies a customized\n\t\t\tstarting time for the validity period.

" } }, "com.amazonaws.acmpca#ValidityPeriodType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "END_DATE", - "name": "END_DATE" - }, - { - "value": "ABSOLUTE", - "name": "ABSOLUTE" - }, - { - "value": "DAYS", - "name": "DAYS" - }, - { - "value": "MONTHS", - "name": "MONTHS" - }, - { - "value": "YEARS", - "name": "YEARS" + "type": "enum", + "members": { + "END_DATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "END_DATE" + } + }, + "ABSOLUTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABSOLUTE" + } + }, + "DAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DAYS" + } + }, + "MONTHS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MONTHS" } - ] + }, + "YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YEARS" + } + } } } } diff --git a/codegen/sdk-codegen/aws-models/batch.json b/codegen/sdk-codegen/aws-models/batch.json index 716964b4756..1e1c7647b5d 100644 --- a/codegen/sdk-codegen/aws-models/batch.json +++ b/codegen/sdk-codegen/aws-models/batch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.batch#AWSBatchV20160810": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Batch", - "arnNamespace": "batch", - "cloudFormationName": "Batch", - "cloudTrailEventSource": "batch.amazonaws.com", - "endpointPrefix": "batch" - }, - "aws.auth#sigv4": { - "name": "batch" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Batch\n

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

\n

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus\n your time and energy on analyzing results and solving your specific problems.

", - "smithy.api#title": "AWS Batch", - "smithy.api#xmlNamespace": { - "uri": "http://batch.amazonaws.com/doc/2016-08-10/" - } - }, "version": "2016-08-10", "operations": [ { @@ -123,21 +105,1801 @@ { "target": "com.amazonaws.batch#UpdateSchedulingPolicy" } - ] - }, - "com.amazonaws.batch#ArrayJobDependency": { - "type": "string", + ], "traits": { - "smithy.api#enum": [ - { - "value": "N_TO_N", - "name": "N_TO_N" + "aws.api#service": { + "sdkId": "Batch", + "arnNamespace": "batch", + "cloudFormationName": "Batch", + "cloudTrailEventSource": "batch.amazonaws.com", + "endpointPrefix": "batch" + }, + "aws.auth#sigv4": { + "name": "batch" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Batch\n

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.\n At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently\n provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and\n delivering results more quickly.

\n

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus\n on analyzing results and solving your specific problems instead.

", + "smithy.api#title": "AWS Batch", + "smithy.api#xmlNamespace": { + "uri": "http://batch.amazonaws.com/doc/2016-08-10/" + }, + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } }, - { - "value": "SEQUENTIAL", - "name": "SEQUENTIAL" + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://batch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://fips.batch.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://batch.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://batch-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://batch.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://batch.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://fips.batch.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://batch.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://batch.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.batch#ArrayJobDependency": { + "type": "enum", + "members": { + "N_TO_N": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "N_TO_N" + } + }, + "SEQUENTIAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEQUENTIAL" } - ] + } } }, "com.amazonaws.batch#ArrayJobStatusSummary": { @@ -160,7 +1922,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing an Batch array job.

" + "smithy.api#documentation": "

An object that represents an Batch array job.

" } }, "com.amazonaws.batch#ArrayPropertiesDetail": { @@ -186,7 +1948,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the array properties of a job.

" + "smithy.api#documentation": "

An object that represents the array properties of a job.

" } }, "com.amazonaws.batch#ArrayPropertiesSummary": { @@ -206,22 +1968,24 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the array properties of a job.

" + "smithy.api#documentation": "

An object that represents the array properties of a job.

" } }, "com.amazonaws.batch#AssignPublicIp": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.batch#AttemptContainerDetail": { @@ -242,30 +2006,30 @@ "exitCode": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The exit code for the job attempt. A non-zero exit code is considered a failure.

" + "smithy.api#documentation": "

The exit code for the job attempt. A non-zero exit code is considered failed.

" } }, "reason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.

" + "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details for a running or stopped\n container.

" } }, "logStreamName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the CloudWatch Logs log stream associated with the container. The log group for Batch jobs is\n /aws/batch/job. Each container attempt receives a log stream name when they reach the\n RUNNING status.

" + "smithy.api#documentation": "

The name of the CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs\n is /aws/batch/job. Each container attempt receives a log stream name when they reach the\n RUNNING status.

" } }, "networkInterfaces": { "target": "com.amazonaws.batch#NetworkInterfaceList", "traits": { - "smithy.api#documentation": "

The network interfaces associated with the job attempt.

" + "smithy.api#documentation": "

The network interfaces that are associated with the job attempt.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing the details of a container that's part of a job attempt.

" + "smithy.api#documentation": "

An object that represents the details of a container that's part of a job attempt.

" } }, "com.amazonaws.batch#AttemptDetail": { @@ -274,30 +2038,30 @@ "container": { "target": "com.amazonaws.batch#AttemptContainerDetail", "traits": { - "smithy.api#documentation": "

Details about the container in this job attempt.

" + "smithy.api#documentation": "

The details for the container in this job attempt.

" } }, "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the\n STARTING state to the RUNNING state).

" + "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the\n STARTING state to the RUNNING state).

" } }, "stoppedAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the\n RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

" + "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the\n RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job attempt.

" + "smithy.api#documentation": "

A short, human-readable string to provide additional details for the current status of the job attempt.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing a job attempt.

" + "smithy.api#documentation": "

An object that represents a job attempt.

" } }, "com.amazonaws.batch#AttemptDetails": { @@ -307,127 +2071,150 @@ } }, "com.amazonaws.batch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.batch#CEState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.batch#CEStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "VALID", - "name": "VALID" - }, - { - "value": "INVALID", - "name": "INVALID" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "VALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALID" } - ] + }, + "INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID" + } + } } }, "com.amazonaws.batch#CEType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MANAGED", - "name": "MANAGED" - }, - { - "value": "UNMANAGED", - "name": "UNMANAGED" + "type": "enum", + "members": { + "MANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANAGED" + } + }, + "UNMANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNMANAGED" } - ] + } } }, "com.amazonaws.batch#CRAllocationStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BEST_FIT", - "name": "BEST_FIT" - }, - { - "value": "BEST_FIT_PROGRESSIVE", - "name": "BEST_FIT_PROGRESSIVE" - }, - { - "value": "SPOT_CAPACITY_OPTIMIZED", - "name": "SPOT_CAPACITY_OPTIMIZED" + "type": "enum", + "members": { + "BEST_FIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BEST_FIT" + } + }, + "BEST_FIT_PROGRESSIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BEST_FIT_PROGRESSIVE" + } + }, + "SPOT_CAPACITY_OPTIMIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPOT_CAPACITY_OPTIMIZED" } - ] + } } }, "com.amazonaws.batch#CRType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EC2", - "name": "EC2" - }, - { - "value": "SPOT", - "name": "SPOT" - }, - { - "value": "FARGATE", - "name": "FARGATE" - }, - { - "value": "FARGATE_SPOT", - "name": "FARGATE_SPOT" + "type": "enum", + "members": { + "EC2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2" + } + }, + "SPOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPOT" } - ] + }, + "FARGATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FARGATE" + } + }, + "FARGATE_SPOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FARGATE_SPOT" + } + } } }, "com.amazonaws.batch#CRUpdateAllocationStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BEST_FIT_PROGRESSIVE", - "name": "BEST_FIT_PROGRESSIVE" - }, - { - "value": "SPOT_CAPACITY_OPTIMIZED", - "name": "SPOT_CAPACITY_OPTIMIZED" + "type": "enum", + "members": { + "BEST_FIT_PROGRESSIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BEST_FIT_PROGRESSIVE" } - ] + }, + "SPOT_CAPACITY_OPTIMIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPOT_CAPACITY_OPTIMIZED" + } + } } }, "com.amazonaws.batch#CancelJob": { @@ -447,7 +2234,7 @@ } ], "traits": { - "smithy.api#documentation": "

Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED, PENDING, or\n RUNNABLE state are canceled. Jobs that have progressed to STARTING or RUNNING\n aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with\n the TerminateJob operation.

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

Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED, PENDING, or\n RUNNABLE state are canceled. Jobs that progressed to the STARTING or RUNNING\n state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be\n terminated with the TerminateJob operation.

", "smithy.api#http": { "method": "POST", "uri": "/v1/canceljob", @@ -489,7 +2276,7 @@ } }, "traits": { - "smithy.api#documentation": "

These errors are usually caused by a client action, such as using an action or resource on behalf of a user that\n doesn't have permissions to use the action or resource, or specifying an identifier that's not valid.

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

These errors are usually caused by a client action. One example cause is using an action or resource on behalf\n of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier\n that's not valid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -500,7 +2287,7 @@ "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

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

The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } }, @@ -520,7 +2307,7 @@ "ecsClusterArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.

" } }, "tags": { @@ -532,13 +2319,13 @@ "type": { "target": "com.amazonaws.batch#CEType", "traits": { - "smithy.api#documentation": "

The type of the compute environment: MANAGED or UNMANAGED. For more information, see\n Compute environments in the\n Batch User Guide.

" + "smithy.api#documentation": "

The type of the compute environment: MANAGED or UNMANAGED. For more information, see\n Compute environments in the\n Batch User Guide.

" } }, "state": { "target": "com.amazonaws.batch#CEState", "traits": { - "smithy.api#documentation": "

The state of the compute environment. The valid values are ENABLED or DISABLED.

\n

If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically, based on the job queue demand.

\n

If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

" + "smithy.api#documentation": "

The state of the compute environment. The valid values are ENABLED or DISABLED.

\n

If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically based on the job queue demand.

\n

If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

" } }, "status": { @@ -550,7 +2337,7 @@ "statusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the compute\n environment.

" + "smithy.api#documentation": "

A short, human-readable string to provide additional details for the current status of the compute\n environment.

" } }, "computeResources": { @@ -562,23 +2349,41 @@ "serviceRole": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The service role associated with the compute environment that allows Batch to make calls to Amazon Web Services API\n operations on your behalf. For more information, see Batch service IAM role in the\n Batch User Guide.

" + "smithy.api#documentation": "

The service role that's associated with the compute environment that allows Batch to make calls to Amazon Web Services API\n operations on your behalf. For more information, see Batch service IAM role in the\n Batch User Guide.

" } }, "updatePolicy": { "target": "com.amazonaws.batch#UpdatePolicy", "traits": { - "smithy.api#documentation": "

Specifies the infrastructure update policy for the compute environment. For more information about\n infrastructure updates, see Updating compute\n environments in the Batch User Guide.

" + "smithy.api#documentation": "

Specifies the infrastructure update policy for the compute environment. For more information about\n infrastructure updates, see Updating\n compute environments in the Batch User Guide.

" } - } - }, - "traits": { - "smithy.api#documentation": "

An object representing an Batch compute environment.

" - } - }, - "com.amazonaws.batch#ComputeEnvironmentDetailList": { - "type": "list", - "member": { + }, + "eksConfiguration": { + "target": "com.amazonaws.batch#EksConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for the Amazon EKS cluster that supports the Batch compute environment. Only specify this\n parameter if the containerOrchestrationType is EKS.

" + } + }, + "containerOrchestrationType": { + "target": "com.amazonaws.batch#OrchestrationType", + "traits": { + "smithy.api#documentation": "

The orchestration type of the compute environment. The valid values are ECS (default) or\n EKS.

" + } + }, + "uuid": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

Unique identifier for the compute environment.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents an Batch compute environment.

" + } + }, + "com.amazonaws.batch#ComputeEnvironmentDetailList": { + "type": "list", + "member": { "target": "com.amazonaws.batch#ComputeEnvironmentDetail" } }, @@ -601,7 +2406,7 @@ } }, "traits": { - "smithy.api#documentation": "

The order in which compute environments are tried for job placement within a queue. Compute environments are\n tried in ascending order. For example, if two compute environments are associated with a job queue, the compute\n environment with a lower order integer value is tried for job placement first. Compute environments must be in the\n VALID state before you can associate them with a job queue. All of the compute environments must be\n either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT);\n EC2 and Fargate compute environments can't be mixed.

\n \n

All compute environments that are associated with a job queue must share the same architecture. Batch doesn't\n support mixing compute environment architecture types in a single job queue.

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

The order that compute environments are tried in for job placement within a queue. Compute environments are\n tried in ascending order. For example, if two compute environments are associated with a job queue, the compute\n environment with a lower order integer value is tried for job placement first. Compute environments must be in the\n VALID state before you can associate them with a job queue. All of the compute environments must be\n either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT);\n EC2 and Fargate compute environments can't be mixed.

\n \n

All compute environments that are associated with a job queue must share the same architecture. Batch doesn't\n support mixing compute environment architecture types in a single job queue.

\n
" } }, "com.amazonaws.batch#ComputeEnvironmentOrders": { @@ -616,39 +2421,39 @@ "type": { "target": "com.amazonaws.batch#CRType", "traits": { - "smithy.api#documentation": "

The type of compute environment: EC2, SPOT, FARGATE, or\n FARGATE_SPOT. For more information, see Compute environments in the\n Batch User Guide.

\n

If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the\n spotIamFleetRole parameter. For more information, see Amazon EC2 spot fleet role in the\n Batch User Guide.

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

The type of compute environment: EC2, SPOT, FARGATE, or\n FARGATE_SPOT. For more information, see Compute environments in the\n Batch User Guide.

\n

If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the\n spotIamFleetRole parameter. For more information, see Amazon EC2 spot fleet role in the\n Batch User Guide.

", "smithy.api#required": {} } }, "allocationStrategy": { "target": "com.amazonaws.batch#CRAllocationStrategy", "traits": { - "smithy.api#documentation": "

The allocation strategy to use for the compute resource if not enough instances of the best fitting instance\n type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more\n information, see Allocation strategies\n in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n
\n
BEST_FIT (default)
\n
\n

Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost\n instance type. If additional instances of the selected instance type aren't available, Batch waits for the\n additional instances to be available. If there aren't enough instances available, or if the user is reaching\n Amazon EC2 service limits\n then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps\n costs lower but can limit scaling. If you are using Spot Fleets with BEST_FIT then the Spot Fleet IAM\n Role must be specified. Compute resources that use a BEST_FIT allocation strategy don't support\n infrastructure updates and can't update some parameters. For more information, see Updating compute environments in the\n Batch User Guide.

\n
\n
BEST_FIT_PROGRESSIVE
\n
\n

Batch will select additional instance types that are large enough to meet the requirements of the jobs in\n the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the\n previously selected instance types aren't available, Batch will select new instance types.

\n
\n
SPOT_CAPACITY_OPTIMIZED
\n
\n

Batch will select one or more instance types that are large enough to meet the requirements of the jobs in\n the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy\n is only available for Spot Instance compute resources.

\n
\n
\n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED strategies, Batch might\n need to go above maxvCpus to meet your capacity requirements. In this event, Batch never exceeds\n maxvCpus by more than a single instance.

" + "smithy.api#documentation": "

The allocation strategy to use for the compute resource if not enough instances of the best fitting instance\n type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more\n information, see Allocation strategies\n in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n
\n
BEST_FIT (default)
\n
\n

Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost\n instance type. If additional instances of the selected instance type aren't available, Batch waits for the\n additional instances to be available. If there aren't enough instances available or the user is reaching Amazon EC2 service limits,\n additional jobs aren't run until the currently running jobs are completed. This allocation strategy keeps costs\n lower but can limit scaling. If you're using Spot Fleets with BEST_FIT, the Spot Fleet IAM Role must\n be specified. Compute resources that use a BEST_FIT allocation strategy don't support infrastructure\n updates and can't update some parameters. For more information, see Updating compute environments in the\n Batch User Guide.

\n
\n
BEST_FIT_PROGRESSIVE
\n
\n

Batch selects additional instance types that are large enough to meet the requirements of the jobs in the\n queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously\n selected instance types aren't available, Batch selects new instance types.

\n
\n
SPOT_CAPACITY_OPTIMIZED
\n
\n

Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the\n queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is\n only available for Spot Instance compute resources.

\n
\n
\n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED strategies using On-Demand\n or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed\n maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus\n by more than a single instance.

" } }, "minvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is\n DISABLED).

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is\n DISABLED).

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "maxvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of Amazon EC2 vCPUs that a compute environment can reach.

\n \n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies,\n Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never\n exceeds maxvCpus by more than a single instance. For example, no more than a single instance from among\n those specified in your compute environment is allocated.

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

The maximum number of Amazon EC2 vCPUs that a compute environment can reach.

\n \n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies\n using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never\n exceeds maxvCpus by more than a single instance. For example, no more than a single instance from among\n those specified in your compute environment is allocated.

\n
", "smithy.api#required": {} } }, "desiredvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum\n and maximum values, based on job queue demand.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum\n and maximum values based on job queue demand.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "instanceTypes": { "target": "com.amazonaws.batch#StringList", "traits": { - "smithy.api#documentation": "

The instances types that can be launched. You can specify instance families to launch any instance type within\n those families (for example, c5 or p3), or you can specify specific sizes within a family\n (such as c5.8xlarge). You can also choose optimal to select instance types (from the C4,\n M4, and R4 instance families) that match the demand of your job queues.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n \n

When you create a compute environment, the instance types that you select for the compute environment must\n share the same architecture. For example, you can't mix x86 and ARM instances in the same compute\n environment.

\n
\n \n

Currently, optimal uses instance types from the C4, M4, and R4 instance families. In Regions that\n don't have instance types from those instance families, instance types from the C5, M5. and R5 instance families are\n used.

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

The instances types that can be launched. You can specify instance families to launch any instance type within\n those families (for example, c5 or p3), or you can specify specific sizes within a family\n (such as c5.8xlarge). You can also choose optimal to select instance types (from the C4,\n M4, and R4 instance families) that match the demand of your job queues.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n \n

When you create a compute environment, the instance types that you select for the compute environment must\n share the same architecture. For example, you can't mix x86 and ARM instances in the same compute\n environment.

\n
\n \n

Currently, optimal uses instance types from the C4, M4, and R4 instance families. In Regions that\n don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are\n used.

\n
" } }, "imageId": { @@ -657,73 +2462,73 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use ec2Configuration[].imageIdOverride instead." }, - "smithy.api#documentation": "

The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is\n overridden by the imageIdOverride member of the Ec2Configuration structure.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

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

The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is\n overridden by the imageIdOverride member of the Ec2Configuration structure.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

\n
" } }, "subnets": { "target": "com.amazonaws.batch#StringList", "traits": { - "smithy.api#documentation": "

The VPC subnets where the compute resources are launched. These subnets must be within the same VPC. Fargate\n compute resources can contain up to 16 subnets. For more information, see VPCs and subnets in the Amazon VPC User\n Guide.

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

The VPC subnets where the compute resources are launched. These subnets must be within the same VPC. Fargate\n compute resources can contain up to 16 subnets. For more information, see VPCs and subnets in the Amazon VPC User\n Guide.

", "smithy.api#required": {} } }, "securityGroupIds": { "target": "com.amazonaws.batch#StringList", "traits": { - "smithy.api#documentation": "

The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security\n groups must be specified, either in securityGroupIds or using a launch template referenced in\n launchTemplate. This parameter is required for jobs that are running on Fargate resources and must\n contain at least one security group. Fargate doesn't support launch templates. If security groups are specified\n using both securityGroupIds and launchTemplate, the values in securityGroupIds\n are used.

" + "smithy.api#documentation": "

The Amazon EC2 security groups that are associated with instances launched in the compute environment. One or more\n security groups must be specified, either in securityGroupIds or using a launch template referenced in\n launchTemplate. This parameter is required for jobs that are running on Fargate resources and must\n contain at least one security group. Fargate doesn't support launch templates. If security groups are specified\n using both securityGroupIds and launchTemplate, the values in securityGroupIds\n are used.

" } }, "ec2KeyPair": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to\n log in to your instances with SSH.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to\n log in to your instances with SSH.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "instanceRole": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name\n or full Amazon Resource Name (ARN) of an instance profile. For example,\n \n ecsInstanceRole\n or\n arn:aws:iam:::instance-profile/ecsInstanceRole\n .\n For more information, see Amazon ECS instance\n role in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name\n or full Amazon Resource Name (ARN) of an instance profile. For example, \n ecsInstanceRole\n or\n arn:aws:iam:::instance-profile/ecsInstanceRole\n .\n For more information, see Amazon ECS instance\n role in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "tags": { "target": "com.amazonaws.batch#TagsMap", "traits": { - "smithy.api#documentation": "

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is helpful for recognizing your Batch\n instances in the Amazon EC2 console. Updating these tags requires an infrastructure update to the compute environment. For\n more information, see Updating compute\n environments in the Batch User Guide. These tags aren't seen when using the Batch\n ListTagsForResource API operation.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and\n String2 is the tag value-for example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is\n helpful for recognizing your Batch instances in the Amazon EC2 console. Updating these tags requires an infrastructure\n update to the compute environment. For more information, see Updating compute environments in the\n Batch User Guide. These tags aren't seen when using the Batch ListTagsForResource\n API operation.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "placementGroup": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel\n jobs to your compute environment, you should consider creating a cluster placement group and associate it with your\n compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single\n Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for\n Linux Instances.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel\n jobs to your compute environment, you should consider creating a cluster placement group and associate it with your\n compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single\n Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for\n Linux Instances.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "bidPercentage": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that\n instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must\n be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and\n never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand\n price.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that\n instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must\n be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and\n never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand\n price.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "spotIamFleetRole": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is\n required if the allocation strategy set to BEST_FIT or if the allocation strategy isn't specified. For\n more information, see Amazon EC2 spot fleet\n role in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n \n

To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The previously recommended AmazonEC2SpotFleetRole managed policy doesn't have the required permissions to tag Spot\n Instances. For more information, see Spot instances not tagged on creation in the\n Batch User Guide.

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

The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is\n required if the allocation strategy set to BEST_FIT or if the allocation strategy isn't specified. For\n more information, see Amazon EC2 spot fleet\n role in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n \n

To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The previously recommended AmazonEC2SpotFleetRole managed policy doesn't have the required permissions to tag Spot\n Instances. For more information, see Spot instances not tagged on creation in the\n Batch User Guide.

\n
" } }, "launchTemplate": { "target": "com.amazonaws.batch#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

The launch template to use for your compute resources. Any other compute resource parameters that you specify in\n a CreateComputeEnvironment API operation override the same parameters in the launch template. You\n must specify either the launch template ID or launch template name in the request, but not both. For more\n information, see Launch template support in\n the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The launch template to use for your compute resources. Any other compute resource parameters that you specify in\n a CreateComputeEnvironment API operation override the same parameters in the launch template. You\n must specify either the launch template ID or launch template name in the request, but not both. For more\n information, see Launch template support in\n the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "ec2Configuration": { "target": "com.amazonaws.batch#Ec2ConfigurationList", "traits": { - "smithy.api#documentation": "

Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If Ec2Configuration isn't specified, the default is ECS_AL2.

\n

One or two values can be provided.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

Provides information that's used to select Amazon Machine Images (AMIs) for EC2 instances in the compute\n environment. If Ec2Configuration isn't specified, the default is ECS_AL2.

\n

One or two values can be provided.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } } }, "traits": { - "smithy.api#documentation": "

An object representing an Batch compute resource. For more information, see Compute environments in the\n Batch User Guide.

" + "smithy.api#documentation": "

An object that represents an Batch compute resource. For more information, see Compute environments in the\n Batch User Guide.

" } }, "com.amazonaws.batch#ComputeResourceUpdate": { @@ -732,19 +2537,19 @@ "minvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is\n DISABLED).

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is\n DISABLED).

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "maxvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of Amazon EC2 vCPUs that an environment can reach.

\n \n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies,\n Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never\n exceeds maxvCpus by more than a single instance. That is, no more than a single instance from among\n those specified in your compute environment.

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

The maximum number of Amazon EC2 vCPUs that an environment can reach.

\n \n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies\n using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never\n exceeds maxvCpus by more than a single instance. That is, no more than a single instance from among\n those specified in your compute environment.

\n
" } }, "desiredvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum\n and maximum values based on job queue demand.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum\n and maximum values based on job queue demand.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "subnets": { @@ -756,84 +2561,84 @@ "securityGroupIds": { "target": "com.amazonaws.batch#StringList", "traits": { - "smithy.api#documentation": "

The Amazon EC2 security groups associated with instances launched in the compute environment. This parameter is\n required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute\n resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For EC2\n compute resources, providing an empty list removes the security groups from the compute resource.

\n

When updating a compute environment, changing the EC2 security groups requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

" + "smithy.api#documentation": "

The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter\n is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute\n resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For EC2\n compute resources, providing an empty list removes the security groups from the compute resource.

\n

When updating a compute environment, changing the EC2 security groups requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

" } }, "allocationStrategy": { "target": "com.amazonaws.batch#CRUpdateAllocationStrategy", "traits": { - "smithy.api#documentation": "

The allocation strategy to use for the compute resource if not enough instances of the best fitting instance\n type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more\n information, see Allocation strategies\n in the Batch User Guide.

\n

When updating a compute environment, changing the allocation strategy requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide. BEST_FIT isn't supported when updating a compute\n environment.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n
\n
BEST_FIT_PROGRESSIVE
\n
\n

Batch will select additional instance types that are large enough to meet the requirements of the jobs in\n the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the\n previously selected instance types aren't available, Batch will select new instance types.

\n
\n
SPOT_CAPACITY_OPTIMIZED
\n
\n

Batch will select one or more instance types that are large enough to meet the requirements of the jobs in\n the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy\n is only available for Spot Instance compute resources.

\n
\n
\n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED strategies, Batch might\n need to go above maxvCpus to meet your capacity requirements. In this event, Batch never exceeds\n maxvCpus by more than a single instance.

" + "smithy.api#documentation": "

The allocation strategy to use for the compute resource if there's not enough instances of the best fitting\n instance type that can be allocated. This might be because of availability of the instance type in the Region or\n Amazon EC2 service limits. For\n more information, see Allocation\n strategies in the Batch User Guide.

\n

When updating a compute environment, changing the allocation strategy requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide. BEST_FIT isn't supported when updating a compute\n environment.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n
\n
BEST_FIT_PROGRESSIVE
\n
\n

Batch selects additional instance types that are large enough to meet the requirements of the jobs in the\n queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously\n selected instance types aren't available, Batch selects new instance types.

\n
\n
SPOT_CAPACITY_OPTIMIZED
\n
\n

Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the\n queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is\n only available for Spot Instance compute resources.

\n
\n
\n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED strategies using On-Demand\n or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed\n maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus\n by more than a single instance.

" } }, "instanceTypes": { "target": "com.amazonaws.batch#StringList", "traits": { - "smithy.api#documentation": "

The instances types that can be launched. You can specify instance families to launch any instance type within\n those families (for example, c5 or p3), or you can specify specific sizes within a family\n (such as c5.8xlarge). You can also choose optimal to select instance types (from the C4,\n M4, and R4 instance families) that match the demand of your job queues.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n \n

When you create a compute environment, the instance types that you select for the compute environment must\n share the same architecture. For example, you can't mix x86 and ARM instances in the same compute\n environment.

\n
\n \n

Currently, optimal uses instance types from the C4, M4, and R4 instance families. In Regions that\n don't have instance types from those instance families, instance types from the C5, M5. and R5 instance families are\n used.

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

The instances types that can be launched. You can specify instance families to launch any instance type within\n those families (for example, c5 or p3), or you can specify specific sizes within a family\n (such as c5.8xlarge). You can also choose optimal to select instance types (from the C4,\n M4, and R4 instance families) that match the demand of your job queues.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n \n

When you create a compute environment, the instance types that you select for the compute environment must\n share the same architecture. For example, you can't mix x86 and ARM instances in the same compute\n environment.

\n
\n \n

Currently, optimal uses instance types from the C4, M4, and R4 instance families. In Regions that\n don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are\n used.

\n
" } }, "ec2KeyPair": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to\n log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string.

\n

When updating a compute environment, changing the EC2 key pair requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to\n log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string.

\n

When updating a compute environment, changing the EC2 key pair requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "instanceRole": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name\n or full Amazon Resource Name (ARN) of an instance profile. For example,\n \n ecsInstanceRole\n or\n arn:aws:iam:::instance-profile/ecsInstanceRole\n .\n For more information, see Amazon ECS instance\n role in the Batch User Guide.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name\n or full Amazon Resource Name (ARN) of an instance profile. For example, \n ecsInstanceRole\n or\n arn:aws:iam:::instance-profile/ecsInstanceRole\n .\n For more information, see Amazon ECS instance\n role in the Batch User Guide.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "tags": { "target": "com.amazonaws.batch#TagsMap", "traits": { - "smithy.api#documentation": "

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is helpful for recognizing your Batch\n instances in the Amazon EC2 console. These tags aren't seen when using the Batch ListTagsForResource API\n operation.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and\n String2 is the tag value-for example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is\n helpful for recognizing your Batch instances in the Amazon EC2 console. These tags aren't seen when using the Batch\n ListTagsForResource API operation.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "placementGroup": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel\n jobs to your compute environment, you should consider creating a cluster placement group and associate it with your\n compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single\n Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for\n Linux Instances.

\n

When updating a compute environment, changing the placement group requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel\n jobs to your compute environment, you should consider creating a cluster placement group and associate it with your\n compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single\n Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for\n Linux Instances.

\n

When updating a compute environment, changing the placement group requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "bidPercentage": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that\n instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must\n be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and\n never more than your maximum percentage.

\n

When updating a compute environment, changing the bid percentage requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that\n instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be\n less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and\n never more than your maximum percentage.

\n

When updating a compute environment, changing the bid percentage requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "launchTemplate": { "target": "com.amazonaws.batch#LaunchTemplateSpecification", "traits": { - "smithy.api#documentation": "

The updated launch template to use for your compute resources. You must specify either the launch template ID or\n launch template name in the request, but not both. For more information, see Launch template support in the Batch User Guide.\n To remove the custom launch template and use the default launch template, set launchTemplateId or\n launchTemplateName member of the launch template specification to an empty string. Removing the launch\n template from a compute environment will not remove the AMI specified in the launch template. In order to update the\n AMI specified in a launch template, the updateToLatestImageVersion parameter must be set to\n true.

\n

When updating a compute environment, changing the launch template requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

The updated launch template to use for your compute resources. You must specify either the launch template ID or\n launch template name in the request, but not both. For more information, see Launch template support in the Batch User Guide.\n To remove the custom launch template and use the default launch template, set launchTemplateId or\n launchTemplateName member of the launch template specification to an empty string. Removing the launch\n template from a compute environment will not remove the AMI specified in the launch template. In order to update the\n AMI specified in a launch template, the updateToLatestImageVersion parameter must be set to\n true.

\n

When updating a compute environment, changing the launch template requires an infrastructure update of the\n compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "ec2Configuration": { "target": "com.amazonaws.batch#Ec2ConfigurationList", "traits": { - "smithy.api#documentation": "

Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If Ec2Configuration isn't specified, the default is ECS_AL2.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide. To remove the EC2 configuration\n and any custom AMI ID specified in imageIdOverride, set this value to an empty string.

\n

One or two values can be provided.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If Ec2Configuration isn't specified, the default is ECS_AL2.

\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide. To remove the EC2 configuration\n and any custom AMI ID specified in imageIdOverride, set this value to an empty string.

\n

One or two values can be provided.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
" } }, "updateToLatestImageVersion": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether the AMI ID is updated to the latest one that's supported by Batch when the compute\n environment has an infrastructure update. The default value is false.

\n \n \n

If an AMI ID is specified in the imageId or imageIdOverride parameters or by the\n launch template specified in the launchTemplate parameter, this parameter is ignored. For more\n information on updating AMI IDs during an infrastructure update, see Updating the AMI ID in\n the Batch User Guide.

\n
\n \n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

" + "smithy.api#documentation": "

Specifies whether the AMI ID is updated to the latest one that's supported by Batch when the compute\n environment has an infrastructure update. The default value is false.

\n \n

An AMI ID can either be specified in the imageId or imageIdOverride parameters or be\n determined by the launch template that's specified in the launchTemplate parameter. If an AMI ID is\n specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an\n infrastructure update, see Updating the AMI ID in\n the Batch User Guide.

\n
\n

When updating a compute environment, changing this setting requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

" } }, "type": { "target": "com.amazonaws.batch#CRType", "traits": { - "smithy.api#documentation": "

The type of compute environment: EC2, SPOT, FARGATE, or\n FARGATE_SPOT. For more information, see Compute environments in the\n Batch User Guide.

\n

If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the\n spotIamFleetRole parameter. For more information, see Amazon EC2 spot fleet role in the\n Batch User Guide.

\n

When updating a compute environment, changing the type of a compute environment requires an infrastructure\n update of the compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

" + "smithy.api#documentation": "

The type of compute environment: EC2, SPOT, FARGATE, or\n FARGATE_SPOT. For more information, see Compute environments in the\n Batch User Guide.

\n

If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the\n spotIamFleetRole parameter. For more information, see Amazon EC2 spot fleet role in the\n Batch User Guide.

\n

When updating a compute environment, changing the type of a compute environment requires an infrastructure\n update of the compute environment. For more information, see Updating compute environments in the\n Batch User Guide.

" } }, "imageId": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is\n overridden by the imageIdOverride member of the Ec2Configuration structure. To remove the\n custom AMI ID and use the default AMI ID, set this value to an empty string.

\n

When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

\n
\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

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

The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is\n overridden by the imageIdOverride member of the Ec2Configuration structure. To remove the\n custom AMI ID and use the default AMI ID, set this value to an empty string.

\n

When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the Batch User Guide.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.

\n
\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

\n
" } } }, "traits": { - "smithy.api#documentation": "

An object representing the attributes of a compute environment that can be updated. For more information, see\n Updating compute environments\n in the Batch User Guide.

" + "smithy.api#documentation": "

An object that represents the attributes of a compute environment that can be updated. For more information, see\n Updating compute environments\n in the Batch User Guide.

" } }, "com.amazonaws.batch#ContainerDetail": { @@ -848,13 +2653,13 @@ "vcpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU\n requirement for the job using resourceRequirements, but you can't specify the vCPU requirements in both\n the vcpus and resourceRequirements object. This parameter maps to CpuShares in\n the Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. You must\n specify at least one vCPU. This is required but can be specified in several places. It must be specified for each\n node at least once.

\n \n

This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate\n resources, you must specify the vCPU requirement for the job using resourceRequirements.

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

The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU\n requirement for the job using resourceRequirements, but you can't specify the vCPU requirements in both\n the vcpus and resourceRequirements object. This parameter maps to CpuShares in\n the Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. You must specify\n at least one vCPU. This is required but can be specified in several places. It must be specified for each node at\n least once.

\n \n

This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate\n resources, you must specify the vCPU requirement for the job using resourceRequirements.

\n
" } }, "memory": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

For jobs running on EC2 resources that didn't specify memory requirements using\n resourceRequirements, the number of MiB of memory reserved for the job. For other jobs, including all\n run on Fargate resources, see resourceRequirements.

" + "smithy.api#documentation": "

For jobs running on EC2 resources that didn't specify memory requirements using\n resourceRequirements, the number of MiB of memory reserved for the job. For other jobs, including all\n run on Fargate resources, see resourceRequirements.

" } }, "command": { @@ -866,25 +2671,25 @@ "jobRoleArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the job upon execution.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that's associated with the job when run.

" } }, "executionRoleArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the execution role that Batch can assume. For more information, see Batch execution IAM role in the\n Batch User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the\n execution\n role that Batch can assume. For more information, see Batch execution IAM role in the\n Batch User Guide.

" } }, "volumes": { "target": "com.amazonaws.batch#Volumes", "traits": { - "smithy.api#documentation": "

A list of volumes associated with the job.

" + "smithy.api#documentation": "

A list of volumes that are associated with the job.

" } }, "environment": { "target": "com.amazonaws.batch#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The environment variables to pass to a container.

\n \n

Environment variables must not start with AWS_BATCH; this naming\n convention is reserved for variables that are set by the Batch service.

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

The environment variables to pass to a container.

\n \n

Environment variables cannot start with \"AWS_BATCH\". This naming\n convention is reserved for variables that Batch sets.

\n
" } }, "mountPoints": { @@ -908,7 +2713,7 @@ "privileged": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the root user). The default value is false.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or\n specified as false.

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

When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the root user). The default value is false.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or\n specified as false.

\n
" } }, "user": { @@ -926,7 +2731,7 @@ "reason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.

" + "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details for a running or stopped\n container.

" } }, "containerInstanceArn": { @@ -944,7 +2749,7 @@ "logStreamName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the CloudWatch Logs log stream associated with the container. The log group for Batch jobs is\n /aws/batch/job. Each container attempt receives a log stream name when they reach the\n RUNNING status.

" + "smithy.api#documentation": "

The name of the Amazon CloudWatch Logs log stream that's associated with the container. The log group for Batch jobs is\n /aws/batch/job. Each container attempt receives a log stream name when they reach the\n RUNNING status.

" } }, "instanceType": { @@ -956,13 +2761,13 @@ "networkInterfaces": { "target": "com.amazonaws.batch#NetworkInterfaceList", "traits": { - "smithy.api#documentation": "

The network interfaces associated with the job.

" + "smithy.api#documentation": "

The network interfaces that are associated with the job.

" } }, "resourceRequirements": { "target": "com.amazonaws.batch#ResourceRequirements", "traits": { - "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" + "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" } }, "linuxParameters": { @@ -974,13 +2779,13 @@ "logConfiguration": { "target": "com.amazonaws.batch#LogConfiguration", "traits": { - "smithy.api#documentation": "

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the Create a container section of the\n Docker Remote API and the --log-driver option to docker run.\n By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a\n different logging driver than the Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be configured properly on the\n container instance. Or, alternatively, it must be configured on a different log server for remote logging options.\n For more information on the options for different supported log drivers, see Configure logging drivers in the Docker\n documentation.

\n \n

Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type). Additional log drivers might be available in future releases of the Amazon ECS\n container agent.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

\n \n

The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that\n instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the\n Amazon Elastic Container Service Developer Guide.

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

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the Create a container section of the\n Docker Remote API and the --log-driver option to docker run.\n By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a\n different logging driver than the Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be configured properly on the\n container instance. Or, alternatively, it must be configured on a different log server for remote logging options.\n For more information on the options for different supported log drivers, see Configure logging drivers in the Docker\n documentation.

\n \n

Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type). Additional log drivers might be available in future releases of the Amazon ECS\n container agent.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log in to your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

\n \n

The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that\n instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the\n Amazon Elastic Container Service Developer Guide.

\n
" } }, "secrets": { "target": "com.amazonaws.batch#SecretList", "traits": { - "smithy.api#documentation": "

The secrets to pass to the container. For more information, see Specifying sensitive data in the\n Batch User Guide.

" + "smithy.api#documentation": "

The secrets to pass to the container. For more information, see Specifying sensitive data in the\n Batch User Guide.

" } }, "networkConfiguration": { @@ -997,7 +2802,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the details of a container that's part of a job.

" + "smithy.api#documentation": "

An object that represents the details of a container that's part of a job.

" } }, "com.amazonaws.batch#ContainerOverrides": { @@ -1009,7 +2814,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to override the vcpus parameter\n that's set in the job definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2\n resources, it overrides the vcpus parameter set in the job definition, but doesn't override any vCPU\n requirement specified in the resourceRequirements structure in the job definition. To override vCPU\n requirements that are specified in the resourceRequirements structure in the job definition,\n resourceRequirements must be specified in the SubmitJob request, with type\n set to VCPU and value set to the new value. For more information, see Can't override job\n definition resource requirements in the Batch User Guide.

" + "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to override the vcpus parameter\n that's set in the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on EC2\n resources, it overrides the vcpus parameter set in the job definition, but doesn't override any vCPU\n requirement specified in the resourceRequirements structure in the job definition. To override vCPU\n requirements that are specified in the resourceRequirements structure in the job definition,\n resourceRequirements must be specified in the SubmitJob request, with type set\n to VCPU and value set to the new value. For more information, see Can't override job\n definition resource requirements in the Batch User Guide.

" } }, "memory": { @@ -1018,7 +2823,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to override the memory requirements\n specified in the job definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2\n resources, it overrides the memory parameter set in the job definition, but doesn't override any memory\n requirement specified in the resourceRequirements structure in the job definition. To override memory\n requirements that are specified in the resourceRequirements structure in the job definition,\n resourceRequirements must be specified in the SubmitJob request, with type\n set to MEMORY and value set to the new value. For more information, see Can't override job\n definition resource requirements in the Batch User Guide.

" + "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to override the memory requirements\n specified in the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on EC2\n resources, it overrides the memory parameter set in the job definition, but doesn't override any memory\n requirement that's specified in the resourceRequirements structure in the job definition. To override\n memory requirements that are specified in the resourceRequirements structure in the job definition,\n resourceRequirements must be specified in the SubmitJob request, with type set\n to MEMORY and value set to the new value. For more information, see Can't override job\n definition resource requirements in the Batch User Guide.

" } }, "command": { @@ -1036,7 +2841,7 @@ "environment": { "target": "com.amazonaws.batch#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The environment variables to send to the container. You can add new environment variables, which are added to\n the container at launch, or you can override the existing environment variables from the Docker image or the job\n definition.

\n \n

Environment variables must not start with AWS_BATCH; this naming\n convention is reserved for variables that are set by the Batch service.

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

The environment variables to send to the container. You can add new environment variables, which are added to\n the container at launch, or you can override the existing environment variables from the Docker image or the job\n definition.

\n \n

Environment variables cannot start with \"AWS_BATCH\". This naming\n convention is reserved for variables that Batch sets.

\n
" } }, "resourceRequirements": { @@ -1056,7 +2861,7 @@ "image": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker\n Hub registry are available by default. Other repositories are specified with\n \n repository-url/image:tag\n .\n Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons,\n periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of\n the Docker Remote API and the IMAGE parameter of docker\n run.

\n \n

Docker image architecture must match the processor architecture of the compute resources that they're scheduled\n on. For example, ARM-based Docker images can only run on ARM-based compute resources.

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

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker\n Hub registry are available by default. Other repositories are specified with\n \n repository-url/image:tag\n .\n It can be 255 characters long. It can contain uppercase and lowercase letters, numbers,\n hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to Image in the Create a container section of\n the Docker Remote API and the IMAGE parameter of docker\n run.

\n \n

Docker image architecture must match the processor architecture of the compute resources that they're scheduled\n on. For example, ARM-based Docker images can only run on ARM-based compute resources.

\n
\n " } }, "vcpus": { @@ -1065,7 +2870,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to specify the vCPU requirements for the job\n definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2 resources, it specifies\n the number of vCPUs reserved for the job.

\n

Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. The number of vCPUs must be specified but can be specified\n in several places. You must specify it at least once for each node.

" + "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to specify the vCPU requirements for the job\n definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2 resources, it specifies\n the number of vCPUs reserved for the job.

\n

Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. The number of vCPUs must be specified but can be specified in\n several places. You must specify it at least once for each node.

" } }, "memory": { @@ -1074,7 +2879,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to specify the memory requirements for the\n job definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2 resources, it\n specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number,\n it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can\n be specified in several places. It must be specified for each node at least once.

" + "smithy.api#documentation": "

This parameter is deprecated, use resourceRequirements to specify the memory requirements for the\n job definition. It's not supported for jobs running on Fargate resources. For jobs that run on EC2 resources, it\n specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number,\n it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can\n be specified in several places. It must be specified for each node at least once.

" } }, "command": { @@ -1086,13 +2891,13 @@ "jobRoleArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that the container can assume for Amazon Web Services permissions. For more information, see\n IAM roles for tasks\n in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that the container can assume for Amazon Web Services permissions. For more information, see\n IAM roles for tasks\n in the Amazon Elastic Container Service Developer Guide.

" } }, "executionRoleArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the execution role that Batch can assume. For jobs that run on Fargate resources, you must\n provide an execution role. For more information, see Batch execution IAM role in the\n Batch User Guide.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the execution role that Batch can assume. For jobs that run on Fargate resources, you must\n provide an execution role. For more information, see Batch execution IAM role in the\n Batch User Guide.

" } }, "volumes": { @@ -1104,7 +2909,7 @@ "environment": { "target": "com.amazonaws.batch#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

The environment variables to pass to a container. This parameter maps to Env in the\n Create a container section of the Docker Remote API and the --env option to docker run.

\n \n

We don't recommend using plaintext environment variables for sensitive information, such as credential\n data.

\n
\n \n

Environment variables must not start with AWS_BATCH; this naming\n convention is reserved for variables that are set by the Batch service.

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

The environment variables to pass to a container. This parameter maps to Env in the\n Create a container section of the Docker Remote API and the --env option to docker run.

\n \n

We don't recommend using plaintext environment variables for sensitive information, such as credential\n data.

\n
\n \n

Environment variables cannot start with \"AWS_BATCH\". This naming\n convention is reserved for variables that Batch sets.

\n
" } }, "mountPoints": { @@ -1122,7 +2927,7 @@ "privileged": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the root user). This parameter maps to Privileged in the\n Create a container section of the Docker Remote API and the --privileged option to\n docker run. The default value is false.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or\n specified as false.

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

When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the root user). This parameter maps to Privileged in the\n Create a container section of the Docker Remote API and the --privileged option to\n docker run. The default value is false.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or\n specified as false.

\n
" } }, "ulimits": { @@ -1146,7 +2951,7 @@ "resourceRequirements": { "target": "com.amazonaws.batch#ResourceRequirements", "traits": { - "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" + "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" } }, "linuxParameters": { @@ -1158,13 +2963,13 @@ "logConfiguration": { "target": "com.amazonaws.batch#LogConfiguration", "traits": { - "smithy.api#documentation": "

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the Create a container section of the\n Docker Remote API and the --log-driver option to docker run.\n By default, containers use the same logging driver that the Docker daemon uses. However the container might use a\n different logging driver than the Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be configured properly on the\n container instance (or on a different log server for remote logging options). For more information on the options for\n different supported log drivers, see Configure\n logging drivers in the Docker documentation.

\n \n

Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type).

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

\n \n

The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that\n instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the\n Amazon Elastic Container Service Developer Guide.

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

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the Create a container section of the\n Docker Remote API and the --log-driver option to docker run.\n By default, containers use the same logging driver that the Docker daemon uses. However the container might use a\n different logging driver than the Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be configured properly on the\n container instance (or on a different log server for remote logging options). For more information on the options for\n different supported log drivers, see Configure\n logging drivers in the Docker documentation.

\n \n

Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type).

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log in to your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

\n \n

The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that\n instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the\n Amazon Elastic Container Service Developer Guide.

\n
" } }, "secrets": { "target": "com.amazonaws.batch#SecretList", "traits": { - "smithy.api#documentation": "

The secrets for the container. For more information, see Specifying sensitive data in the\n Batch User Guide.

" + "smithy.api#documentation": "

The secrets for the container. For more information, see Specifying sensitive data in the\n Batch User Guide.

" } }, "networkConfiguration": { @@ -1181,7 +2986,7 @@ } }, "traits": { - "smithy.api#documentation": "

Container properties are used in job definitions to describe the container that's launched as part of a\n job.

" + "smithy.api#documentation": "

Container properties are used\n for\n Amazon ECS based job definitions. These properties to describe the container that's launched as part of\n a job.

" } }, "com.amazonaws.batch#ContainerSummary": { @@ -1196,12 +3001,12 @@ "reason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.

" + "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details for a running or stopped\n container.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing summary details of a container within a job.

" + "smithy.api#documentation": "

An object that represents summary details of a container within a job.

" } }, "com.amazonaws.batch#CreateComputeEnvironment": { @@ -1221,7 +3026,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

\n

In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a\n specified percentage of the On-Demand price.

\n \n

Multi-node parallel jobs aren't supported on Spot Instances.

\n
\n

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility\n with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that\n each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it\n also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is\n available. You're responsible for the management of the guest operating system. This includes any updates and\n security patches. You're also responsible for any additional application software or utilities that you install on\n the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete\n these steps:

\n
    \n
  1. \n

    Create a new compute environment with the new AMI.

    \n
  2. \n
  3. \n

    Add the compute environment to an existing job queue.

    \n
  4. \n
  5. \n

    Remove the earlier compute environment from your job queue.

    \n
  6. \n
  7. \n

    Delete the earlier compute environment.

    \n
  8. \n
\n

In April 2022, Batch added enhanced support for updating compute environments. For more information, see\n Updating compute\n environments. To use the enhanced updating of compute environments to update AMIs, follow these\n rules:

\n \n

If these rules are followed, any update that triggers an infrastructure update will cause the AMI ID to be\n re-selected. If the version setting in the launch template (launchTemplate) is set to\n $Latest or $Default, the latest or default version of the launch template will be\n evaluated up at the time of the infrastructure update, even if the launchTemplate was not\n updated.

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

Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

\n

In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a\n specified percentage of the On-Demand price.

\n \n

Multi-node parallel jobs aren't supported on Spot Instances.

\n
\n

In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how\n you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of\n your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.

\n \n

Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it\n also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is\n available. You're responsible for the management of the guest operating system. This includes any updates and\n security patches. You're also responsible for any additional application software or utilities that you install on\n the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete\n these steps:

\n
    \n
  1. \n

    Create a new compute environment with the new AMI.

    \n
  2. \n
  3. \n

    Add the compute environment to an existing job queue.

    \n
  4. \n
  5. \n

    Remove the earlier compute environment from your job queue.

    \n
  6. \n
  7. \n

    Delete the earlier compute environment.

    \n
  8. \n
\n

In April 2022, Batch added enhanced support for updating compute environments. For more information, see\n Updating compute\n environments. To use the enhanced updating of compute environments to update AMIs, follow these\n rules:

\n \n

If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be\n re-selected. If the version setting in the launch template (launchTemplate) is set to\n $Latest or $Default, the latest or default version of the launch template is evaluated up\n at the time of the infrastructure update, even if the launchTemplate wasn't updated.

\n
", "smithy.api#http": { "method": "POST", "uri": "/v1/createcomputeenvironment", @@ -1235,7 +3040,7 @@ "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name for your compute environment. It can be up to 128 letters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

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

The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } }, @@ -1267,7 +3072,7 @@ "serviceRole": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The full Amazon Resource Name (ARN) of the IAM role that allows Batch to make calls to other Amazon Web Services services on your behalf. For\n more information, see Batch service IAM\n role in the Batch User Guide.

\n \n

If your account already created the Batch service-linked role, that role is used by default for your compute\n environment unless you specify a different role here. If the Batch service-linked role doesn't exist in your\n account, and no role is specified here, the service attempts to create the Batch service-linked role in your\n account.

\n
\n

If your specified role has a path other than /, then you must specify either the full role ARN\n (recommended) or prefix the role name with the path. For example, if a role with the name bar has a path\n of /foo/ then you would specify /foo/bar as the role name. For more information, see Friendly names\n and paths in the IAM User Guide.

\n \n

Depending on how you created your Batch service role, its ARN might contain the service-role\n path prefix. When you only specify the name of the service role, Batch assumes that your ARN doesn't use the\n service-role path prefix. Because of this, we recommend that you specify the full ARN of your service\n role when you create compute environments.

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

The full Amazon Resource Name (ARN) of the IAM role that allows Batch to make calls to other Amazon Web Services services on your behalf. For\n more information, see Batch service IAM\n role in the Batch User Guide.

\n \n

If your account already created the Batch service-linked role, that role is used by default for your compute\n environment unless you specify a different role here. If the Batch service-linked role doesn't exist in your\n account, and no role is specified here, the service attempts to create the Batch service-linked role in your\n account.

\n
\n

If your specified role has a path other than /, then you must specify either the full role ARN\n (recommended) or prefix the role name with the path. For example, if a role with the name bar has a path\n of /foo/, specify /foo/bar as the role name. For more information, see Friendly names\n and paths in the IAM User Guide.

\n \n

Depending on how you created your Batch service role, its ARN might contain the service-role\n path prefix. When you only specify the name of the service role, Batch assumes that your ARN doesn't use the\n service-role path prefix. Because of this, we recommend that you specify the full ARN of your service\n role when you create compute environments.

\n
" } }, "tags": { @@ -1275,6 +3080,12 @@ "traits": { "smithy.api#documentation": "

The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

\n

These tags can be updated or removed using the TagResource and UntagResource API operations. These tags don't\n propagate to the underlying compute resources.

" } + }, + "eksConfiguration": { + "target": "com.amazonaws.batch#EksConfiguration", + "traits": { + "smithy.api#documentation": "

The details for the Amazon EKS cluster that supports the compute environment.

" + } } }, "traits": { @@ -1287,7 +3098,7 @@ "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

" + "smithy.api#documentation": "

The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

" } }, "computeEnvironmentArn": { @@ -1342,7 +3153,7 @@ "schedulingPolicyArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair\n share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO)\n scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.\n The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n An example is\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair\n share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO)\n scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.\n The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n An example is\n aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.

" } }, "priority": { @@ -1454,7 +3265,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

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

The Amazon Resource Name (ARN) of the scheduling policy. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.

", "smithy.api#required": {} } } @@ -1682,7 +3493,7 @@ "nextToken": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated DescribeComputeEnvironments\n request where maxResults was used and the results exceeded the value of that parameter. Pagination\n continues from the end of the previous results that returned the nextToken value. This value is\n null when there are no more results to return.

\n \n

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

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

The nextToken value returned from a previous paginated DescribeComputeEnvironments\n request where maxResults was used and the results exceeded the value of that parameter. Pagination\n continues from the end of the previous results that returned the nextToken value. This value is\n null when there are no more results to return.

\n \n

Treat this token as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, @@ -1768,7 +3579,7 @@ "nextToken": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated DescribeJobDefinitions request\n where maxResults was used and the results exceeded the value of that parameter. Pagination continues\n from the end of the previous results that returned the nextToken value. This value is null\n when there are no more results to return.

\n \n

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

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

The nextToken value returned from a previous paginated DescribeJobDefinitions request\n where maxResults was used and the results exceeded the value of that parameter. Pagination continues\n from the end of the previous results that returned the nextToken value. This value is null\n when there are no more results to return.

\n \n

Treat this token as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, @@ -1842,7 +3653,7 @@ "nextToken": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated DescribeJobQueues request where\n maxResults was 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. This value is null when\n there are no more results to return.

\n \n

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

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

The nextToken value returned from a previous paginated DescribeJobQueues request where\n maxResults was 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. This value is null when\n there are no more results to return.

\n \n

Treat this token as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, @@ -1993,26 +3804,30 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing a container instance host device.

\n \n

This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

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

An object that represents a container instance host device.

\n \n

This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.

\n
" } }, "com.amazonaws.batch#DeviceCgroupPermission": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "READ", - "name": "READ" - }, - { - "value": "WRITE", - "name": "WRITE" - }, - { - "value": "MKNOD", - "name": "MKNOD" + "type": "enum", + "members": { + "READ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READ" + } + }, + "WRITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WRITE" + } + }, + "MKNOD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MKNOD" } - ] + } } }, "com.amazonaws.batch#DeviceCgroupPermissions": { @@ -2030,117 +3845,791 @@ "com.amazonaws.batch#EFSAuthorizationConfig": { "type": "structure", "members": { - "accessPointId": { - "target": "com.amazonaws.batch#String", - "traits": { - "smithy.api#documentation": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the\n EFSVolumeConfiguration must either be omitted or set to / which will enforce the path set\n on the EFS access point. If an access point is used, transit encryption must be enabled in the\n EFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the\n Amazon Elastic File System User Guide.

" - } - }, - "iam": { - "target": "com.amazonaws.batch#EFSAuthorizationConfigIAM", + "accessPointId": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the\n EFSVolumeConfiguration must either be omitted or set to / which enforces the path set on\n the EFS access point. If an access point is used, transit encryption must be enabled in the\n EFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the\n Amazon Elastic File System User Guide.

" + } + }, + "iam": { + "target": "com.amazonaws.batch#EFSAuthorizationConfigIAM", + "traits": { + "smithy.api#documentation": "

Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.\n If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this parameter is\n omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS access points in the\n Batch User Guide. EFS IAM authorization requires that TransitEncryption be\n ENABLED and that a JobRoleArn is specified.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The authorization configuration details for the Amazon EFS file system.

" + } + }, + "com.amazonaws.batch#EFSAuthorizationConfigIAM": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, + "com.amazonaws.batch#EFSTransitEncryption": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, + "com.amazonaws.batch#EFSVolumeConfiguration": { + "type": "structure", + "members": { + "fileSystemId": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The Amazon EFS file system ID to use.

", + "smithy.api#required": {} + } + }, + "rootDirectory": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is\n omitted, the root of the Amazon EFS volume is used instead. Specifying / has the same effect as omitting this\n parameter. The maximum length is 4,096 characters.

\n \n

If an EFS access point is specified in the authorizationConfig, the root directory parameter must\n either be omitted or set to /, which enforces the path set on the Amazon EFS access point.

\n
" + } + }, + "transitEncryption": { + "target": "com.amazonaws.batch#EFSTransitEncryption", + "traits": { + "smithy.api#documentation": "

Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.\n Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default\n value of DISABLED is used. For more information, see Encrypting data in transit in the\n Amazon Elastic File System User Guide.

" + } + }, + "transitEncryptionPort": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a\n transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be\n between 0 and 65,535. For more information, see EFS mount helper in the Amazon Elastic File System User Guide.

" + } + }, + "authorizationConfig": { + "target": "com.amazonaws.batch#EFSAuthorizationConfig", + "traits": { + "smithy.api#documentation": "

The authorization configuration details for the Amazon EFS file system.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see Amazon EFS Volumes in the\n Batch User Guide.

" + } + }, + "com.amazonaws.batch#Ec2Configuration": { + "type": "structure", + "members": { + "imageType": { + "target": "com.amazonaws.batch#ImageType", + "traits": { + "smithy.api#documentation": "

The image type to match with the instance type to select an AMI. The supported values are different for\n ECS and EKS resources.

\n
\n
ECS
\n
\n

If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI\n (ECS_AL2) is used. If a new image type is specified in an update, but neither an imageId\n nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type\n that's supported by Batch is used.

\n
\n
ECS_AL2
\n
\n

\n Amazon\n Linux 2: Default for all non-GPU instance families.

\n
\n
ECS_AL2_NVIDIA
\n
\n

\n Amazon\n Linux 2 (GPU): Default for all GPU instance families (for example P4 and G4)\n and can be used for all non Amazon Web Services Graviton-based instance types.

\n
\n
ECS_AL1
\n
\n

\n Amazon Linux. Amazon Linux has reached the end-of-life of standard support. For more information, see Amazon Linux AMI.

\n
\n
\n
\n
EKS
\n
\n

If the imageIdOverride parameter isn't specified, then a recent Amazon EKS-optimized Amazon Linux AMI\n (EKS_AL2) is used. If a new image type is specified in an update, but neither an imageId\n nor a imageIdOverride parameter is specified, then the latest Amazon EKS optimized AMI for that image type\n that Batch supports is used.

\n
\n
EKS_AL2
\n
\n

\n Amazon\n Linux 2: Default for all non-GPU instance families.

\n
\n
EKS_AL2_NVIDIA
\n
\n

\n Amazon Linux 2\n (accelerated): Default for all GPU instance families (for example, P4 and\n G4) and can be used for all non Amazon Web Services Graviton-based instance types.

\n
\n
\n
\n
", + "smithy.api#required": {} + } + }, + "imageIdOverride": { + "target": "com.amazonaws.batch#ImageIdOverride", + "traits": { + "smithy.api#documentation": "

The AMI ID used for instances launched in the compute environment that match the image type. This setting\n overrides the imageId set in the computeResource object.

\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

\n
" + } + }, + "imageKubernetesVersion": { + "target": "com.amazonaws.batch#KubernetesVersion", + "traits": { + "smithy.api#documentation": "

The Kubernetes version for the compute environment. If you don't specify a value, the latest version that Batch\n supports is used.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If\n Ec2Configuration isn't specified, the default is ECS_AL2 (Amazon Linux 2).

\n \n

This object isn't applicable to jobs that are running on Fargate resources.

\n
" + } + }, + "com.amazonaws.batch#Ec2ConfigurationList": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#Ec2Configuration" + } + }, + "com.amazonaws.batch#EksAttemptContainerDetail": { + "type": "structure", + "members": { + "exitCode": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

The exit code for the job attempt. A non-zero exit code is considered failed.

" + } + }, + "reason": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details for a running or stopped\n container.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents the details for an attempt for a job attempt that an Amazon EKS container runs.

" + } + }, + "com.amazonaws.batch#EksAttemptContainerDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksAttemptContainerDetail" + } + }, + "com.amazonaws.batch#EksAttemptDetail": { + "type": "structure", + "members": { + "containers": { + "target": "com.amazonaws.batch#EksAttemptContainerDetails", + "traits": { + "smithy.api#documentation": "

The details for the final status of the containers for this job attempt.

" + } + }, + "podName": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the pod for this job attempt.

" + } + }, + "nodeName": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the node for this job attempt.

" + } + }, + "startedAt": { + "target": "com.amazonaws.batch#Long", + "traits": { + "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the\n STARTING state to the RUNNING state).

" + } + }, + "stoppedAt": { + "target": "com.amazonaws.batch#Long", + "traits": { + "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt\n transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or\n FAILED.

" + } + }, + "statusReason": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

A short, human-readable string to provide additional details for the current status of the job attempt.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that represents the details of a job attempt for a job attempt by an Amazon EKS container.

" + } + }, + "com.amazonaws.batch#EksAttemptDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksAttemptDetail" + } + }, + "com.amazonaws.batch#EksConfiguration": { + "type": "structure", + "members": { + "eksClusterArn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is\n arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch\n .\n

", + "smithy.api#required": {} + } + }, + "kubernetesNamespace": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or\n null. It must be fewer than 64 characters long, can't be set to default, can't start with\n \"kube-,\" and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more\n information, see Namespaces in the Kubernetes documentation.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Configuration for the Amazon EKS cluster that supports the Batch compute environment. The cluster must exist before\n the compute environment can be created.

" + } + }, + "com.amazonaws.batch#EksContainer": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the container. If the name isn't specified, the default name \"Default\" is used. Each\n container in a pod must have a unique name.

" + } + }, + "image": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The Docker image used to start the container.

", + "smithy.api#required": {} + } + }, + "imagePullPolicy": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The image pull policy for the container. Supported values are Always, IfNotPresent,\n and Never. This parameter defaults to IfNotPresent. However, if the :latest\n tag is specified, it defaults to Always. For more information, see Updating images in the\n Kubernetes documentation.

" + } + }, + "command": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

The entrypoint for the container. This isn't run within a shell. If this isn't specified, the\n ENTRYPOINT of the container image is used. Environment variable references are expanded using the\n container's environment.

\n

If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example,\n if the reference is to \"$(NAME1)\" and the NAME1 environment variable doesn't exist, the\n command string will remain \"$(NAME1).\" $$ is replaced with $ and the resulting\n string isn't expanded. For example, $$(VAR_NAME) will be passed as $(VAR_NAME) whether or\n not the VAR_NAME environment variable exists. The entrypoint can't be updated. For more information, see\n ENTRYPOINT in the\n Dockerfile reference and Define a command\n and arguments for a container and Entrypoint in\n the Kubernetes documentation.

" + } + }, + "args": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is\n used. This corresponds to the args member in the Entrypoint\n portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

\n

If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example,\n if the reference is to \"$(NAME1)\" and the NAME1 environment variable doesn't exist, the\n command string will remain \"$(NAME1).\" $$ is replaced with $, and the\n resulting string isn't expanded. For example, $$(VAR_NAME) is passed as $(VAR_NAME) whether\n or not the VAR_NAME environment variable exists. For more information, see CMD in the Dockerfile\n reference and Define a command\n and arguments for a pod in the Kubernetes documentation.

" + } + }, + "env": { + "target": "com.amazonaws.batch#EksContainerEnvironmentVariables", + "traits": { + "smithy.api#documentation": "

The environment variables to pass to a container.

\n \n

Environment variables cannot start with \"AWS_BATCH\". This naming\n convention is reserved for variables that Batch sets.

\n
" + } + }, + "resources": { + "target": "com.amazonaws.batch#EksContainerResourceRequirements", + "traits": { + "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include memory,\n cpu, and nvidia.com/gpu. For more information, see Resource management for pods\n and containers in the Kubernetes documentation.

" + } + }, + "volumeMounts": { + "target": "com.amazonaws.batch#EksContainerVolumeMounts", + "traits": { + "smithy.api#documentation": "

The volume mounts for the container. Batch supports emptyDir, hostPath, and\n secret volume types. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes\n documentation.

" + } + }, + "securityContext": { + "target": "com.amazonaws.batch#EksContainerSecurityContext", + "traits": { + "smithy.api#documentation": "

The security context for a job. For more information, see Configure a security context for a\n pod or container in the Kubernetes documentation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties\n for a container node in the pod that's launched as part of a job. This can't be specified for Amazon ECS based job\n definitions.

" + } + }, + "com.amazonaws.batch#EksContainerDetail": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the container. If the name isn't specified, the default name \"Default\" is used. Each\n container in a pod must have a unique name.

" + } + }, + "image": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The Docker image used to start the container.

" + } + }, + "imagePullPolicy": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The image pull policy for the container. Supported values are Always, IfNotPresent,\n and Never. This parameter defaults to Always if the :latest tag is specified,\n IfNotPresent otherwise. For more information, see Updating images in the\n Kubernetes documentation.

" + } + }, + "command": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

The entrypoint for the container. For more information, see Entrypoint in\n the Kubernetes documentation.

" + } + }, + "args": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is\n used. This corresponds to the args member in the Entrypoint\n portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.

\n

If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example,\n if the reference is to \"$(NAME1)\" and the NAME1 environment variable doesn't exist, the\n command string will remain \"$(NAME1)\". $$ is replaced with $ and the resulting\n string isn't expanded. For example, $$(VAR_NAME) is passed as $(VAR_NAME) whether or not\n the VAR_NAME environment variable exists. For more information, see CMD in the Dockerfile\n reference and Define a command\n and arguments for a pod in the Kubernetes documentation.

" + } + }, + "env": { + "target": "com.amazonaws.batch#EksContainerEnvironmentVariables", + "traits": { + "smithy.api#documentation": "

The environment variables to pass to a container.

\n \n

Environment variables cannot start with \"AWS_BATCH\". This naming\n convention is reserved for variables that Batch sets.

\n
" + } + }, + "resources": { + "target": "com.amazonaws.batch#EksContainerResourceRequirements", + "traits": { + "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include memory,\n cpu, and nvidia.com/gpu. For more information, see Resource management for pods\n and containers in the Kubernetes documentation.

" + } + }, + "exitCode": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

The exit code for the job attempt. A non-zero exit code is considered failed.

" + } + }, + "reason": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

A short human-readable string to provide additional details for a running or stopped container. It can be up to\n 255 characters long.

" + } + }, + "volumeMounts": { + "target": "com.amazonaws.batch#EksContainerVolumeMounts", + "traits": { + "smithy.api#documentation": "

The volume mounts for the container. Batch supports emptyDir, hostPath, and\n secret volume types. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes\n documentation.

" + } + }, + "securityContext": { + "target": "com.amazonaws.batch#EksContainerSecurityContext", + "traits": { + "smithy.api#documentation": "

The security context for a job. For more information, see Configure a security context for a\n pod or container in the Kubernetes documentation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details for container properties that are returned by DescribeJobs for jobs that use\n Amazon EKS.

" + } + }, + "com.amazonaws.batch#EksContainerDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksContainerDetail" + } + }, + "com.amazonaws.batch#EksContainerEnvironmentVariable": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the environment variable.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The value of the environment variable.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An environment variable.

" + } + }, + "com.amazonaws.batch#EksContainerEnvironmentVariables": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksContainerEnvironmentVariable" + } + }, + "com.amazonaws.batch#EksContainerOverride": { + "type": "structure", + "members": { + "image": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The override of the Docker image that's used to start the container.

" + } + }, + "command": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

The command to send to the container that overrides the default command from the Docker image or the job\n definition.

" + } + }, + "args": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker\n image or the job definition. For more information, see CMD in the Dockerfile\n reference and Define a command an\n arguments for a pod in the Kubernetes documentation.

" + } + }, + "env": { + "target": "com.amazonaws.batch#EksContainerEnvironmentVariables", + "traits": { + "smithy.api#documentation": "

The environment variables to send to the container. You can add new environment variables, which are added to\n the container at launch. Or, you can override the existing environment variables from the Docker image or the job\n definition.

\n \n

Environment variables cannot start with \"AWS_BATCH\". This naming\n convention is reserved for variables that Batch sets.

\n
" + } + }, + "resources": { + "target": "com.amazonaws.batch#EksContainerResourceRequirements", + "traits": { + "smithy.api#documentation": "

The type and amount of resources to assign to a container. These override the settings in the job definition.\n The supported resources include memory, cpu, and nvidia.com/gpu. For more\n information, see Resource\n management for pods and containers in the Kubernetes documentation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API\n operation.

" + } + }, + "com.amazonaws.batch#EksContainerOverrideList": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksContainerOverride" + } + }, + "com.amazonaws.batch#EksContainerResourceRequirements": { + "type": "structure", + "members": { + "limits": { + "target": "com.amazonaws.batch#EksLimits", + "traits": { + "smithy.api#documentation": "

The type and quantity of the resources to reserve for the container. The values vary based on the\n name that's specified. Resources can be requested using either the limits or the\n requests objects.

\n
\n
memory
\n
\n

The memory hard limit (in MiB) for the container, using whole integers, with a \"Mi\" suffix. If your container\n attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory\n for a job. memory can be specified in limits, requests, or both. If\n memory is specified in both places, then the value that's specified in limits must be\n equal to the value that's specified in requests.

\n \n

To maximize your resource utilization, provide your jobs with as much memory as possible for the specific\n instance type that you are using. To learn how, see Memory management in the\n Batch User Guide.

\n
\n
\n
cpu
\n
\n

The number of CPUs that's reserved for the container. Values must be an even multiple of 0.25.\n cpu can be specified in limits, requests, or both. If cpu is\n specified in both places, then the value that's specified in limits must be at least as large as the\n value that's specified in requests.

\n
\n
nvidia.com/gpu
\n
\n

The number of GPUs that's reserved for the container. Values must be a whole integer. memory can\n be specified in limits, requests, or both. If memory is specified in both\n places, then the value that's specified in limits must be equal to the value that's specified in\n requests.

\n
\n
" + } + }, + "requests": { + "target": "com.amazonaws.batch#EksRequests", + "traits": { + "smithy.api#documentation": "

The type and quantity of the resources to request for the container. The values vary based on the\n name that's specified. Resources can be requested by using either the limits or the\n requests objects.

\n
\n
memory
\n
\n

The memory hard limit (in MiB) for the container, using whole integers, with a \"Mi\" suffix. If your container\n attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory\n for a job. memory can be specified in limits, requests, or both. If\n memory is specified in both, then the value that's specified in limits must be equal to\n the value that's specified in requests.

\n \n

If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for\n a particular instance type, see Memory\n management in the Batch User Guide.

\n
\n
\n
cpu
\n
\n

The number of CPUs that are reserved for the container. Values must be an even multiple of 0.25.\n cpu can be specified in limits, requests, or both. If cpu is\n specified in both, then the value that's specified in limits must be at least as large as the value\n that's specified in requests.

\n
\n
nvidia.com/gpu
\n
\n

The number of GPUs that are reserved for the container. Values must be a whole integer.\n nvidia.com/gpu can be specified in limits, requests, or both. If\n nvidia.com/gpu is specified in both, then the value that's specified in limits must be\n equal to the value that's specified in requests.

\n
\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include memory,\n cpu, and nvidia.com/gpu. For more information, see Resource management for pods\n and containers in the Kubernetes documentation.

" + } + }, + "com.amazonaws.batch#EksContainerSecurityContext": { + "type": "structure", + "members": { + "runAsUser": { + "target": "com.amazonaws.batch#Long", + "traits": { + "smithy.api#documentation": "

When this parameter is specified, the container is run as the specified user ID (uid). If this\n parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to\n RunAsUser and MustRanAs policy in the Users and groups pod\n security policies in the Kubernetes documentation.

" + } + }, + "runAsGroup": { + "target": "com.amazonaws.batch#Long", + "traits": { + "smithy.api#documentation": "

When this parameter is specified, the container is run as the specified group ID (gid). If this\n parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to\n RunAsGroup and MustRunAs policy in the Users and groups pod\n security policies in the Kubernetes documentation.

" + } + }, + "privileged": { + "target": "com.amazonaws.batch#Boolean", + "traits": { + "smithy.api#documentation": "

When this parameter is true, the container is given elevated permissions on the host container\n instance. The level of permissions are similar to the root user permissions. The default value is\n false. This parameter maps to privileged policy in the Privileged pod security\n policies in the Kubernetes documentation.

" + } + }, + "readOnlyRootFilesystem": { + "target": "com.amazonaws.batch#Boolean", + "traits": { + "smithy.api#documentation": "

When this parameter is true, the container is given read-only access to its root file system. The\n default value is false. This parameter maps to ReadOnlyRootFilesystem policy in the Volumes and file\n systems pod security policies in the Kubernetes documentation.

" + } + }, + "runAsNonRoot": { + "target": "com.amazonaws.batch#Boolean", + "traits": { + "smithy.api#documentation": "

When this parameter is specified, the container is run as a user with a uid other than 0. If this\n parameter isn't specified, so such rule is enforced. This parameter maps to RunAsUser and\n MustRunAsNonRoot policy in the Users and groups pod\n security policies in the Kubernetes documentation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The security context for a job. For more information, see Configure a security context for a\n pod or container in the Kubernetes documentation.

" + } + }, + "com.amazonaws.batch#EksContainerVolumeMount": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name the volume mount. This must match the name of one of the volumes in the pod.

" + } + }, + "mountPath": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The path on the container where the volume is mounted.

" + } + }, + "readOnly": { + "target": "com.amazonaws.batch#Boolean", + "traits": { + "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume. Otherwise, the container\n can write to the volume. The default value is false.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in\n Kubernetes, see Volumes in the Kubernetes\n documentation.

" + } + }, + "com.amazonaws.batch#EksContainerVolumeMounts": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksContainerVolumeMount" + } + }, + "com.amazonaws.batch#EksContainers": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#EksContainer" + } + }, + "com.amazonaws.batch#EksEmptyDir": { + "type": "structure", + "members": { + "medium": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The medium to store the volume. The default value is an empty string, which uses the storage of the node.

\n
\n
\"\"
\n
\n

\n (Default) Use the disk storage of the node.

\n
\n
\"Memory\"
\n
\n

Use the tmpfs volume that's backed by the RAM of the node. Contents of the volume are lost when\n the node reboots, and any storage on the volume counts against the container's memory limit.

\n
\n
" + } + }, + "sizeLimit": { + "target": "com.amazonaws.batch#Quantity", + "traits": { + "smithy.api#documentation": "

The maximum size of the volume. By default, there's no maximum size defined.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specifies the configuration of a Kubernetes emptyDir volume. An emptyDir volume is first\n created when a pod is assigned to a node. It exists as long as that pod is running on that node. The\n emptyDir volume is initially empty. All containers in the pod can read and write the files in the\n emptyDir volume. However, the emptyDir volume can be mounted at the same or different paths\n in each container. When a pod is removed from a node for any reason, the data in the emptyDir is\n deleted permanently. For more information, see emptyDir in the Kubernetes\n documentation.

" + } + }, + "com.amazonaws.batch#EksHostPath": { + "type": "structure", + "members": { + "path": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The path of the file or directory on the host to mount into containers on the pod.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specifies the configuration of a Kubernetes hostPath volume. A hostPath volume mounts an\n existing file or directory from the host node's filesystem into your pod. For more information, see hostPath in the Kubernetes\n documentation.

" + } + }, + "com.amazonaws.batch#EksLimits": { + "type": "map", + "key": { + "target": "com.amazonaws.batch#String" + }, + "value": { + "target": "com.amazonaws.batch#Quantity" + } + }, + "com.amazonaws.batch#EksPodProperties": { + "type": "structure", + "members": { + "serviceAccountName": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account\n to assume an IAM role in the Amazon EKS User Guide and Configure service accounts\n for pods in the Kubernetes documentation.

" + } + }, + "hostNetwork": { + "target": "com.amazonaws.batch#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this\n to false enables the Kubernetes pod networking model. Most Batch workloads are egress-only and don't\n require the overhead of IP allocation for each pod for incoming connections. For more information, see Host namespaces and\n Pod networking in the\n Kubernetes documentation.

" + } + }, + "dnsPolicy": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork\n parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates\n that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver\n inherited from the node. For more information, see Pod's DNS\n policy in the Kubernetes documentation.

\n

Valid values: Default | ClusterFirst | ClusterFirstWithHostNet |\n None\n

" + } + }, + "containers": { + "target": "com.amazonaws.batch#EksContainers", + "traits": { + "smithy.api#documentation": "

The properties of the container that's used on the Amazon EKS pod.

" + } + }, + "volumes": { + "target": "com.amazonaws.batch#EksVolumes", + "traits": { + "smithy.api#documentation": "

Specifies the volumes for a job definition that uses Amazon EKS resources.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The properties for the pod.

" + } + }, + "com.amazonaws.batch#EksPodPropertiesDetail": { + "type": "structure", + "members": { + "serviceAccountName": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account\n to assume an IAM role in the Amazon EKS User Guide and Configure service accounts\n for pods in the Kubernetes documentation.

" + } + }, + "hostNetwork": { + "target": "com.amazonaws.batch#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this\n to false enables the Kubernetes pod networking model. Most Batch workloads are egress-only and don't\n require the overhead of IP allocation for each pod for incoming connections. For more information, see Host namespaces and\n Pod networking in the\n Kubernetes documentation.

" + } + }, + "dnsPolicy": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork\n parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates\n that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver\n inherited from the node. For more information, see Pod's DNS\n policy in the Kubernetes documentation.

\n

Valid values: Default | ClusterFirst | ClusterFirstWithHostNet |\n None\n

" + } + }, + "containers": { + "target": "com.amazonaws.batch#EksContainerDetails", + "traits": { + "smithy.api#documentation": "

The properties of the container that's used on the Amazon EKS pod.

" + } + }, + "volumes": { + "target": "com.amazonaws.batch#EksVolumes", + "traits": { + "smithy.api#documentation": "

Specifies the volumes for a job definition using Amazon EKS resources.

" + } + }, + "podName": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the pod for this job.

" + } + }, + "nodeName": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

The name of the node for this job.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details for the pod.

" + } + }, + "com.amazonaws.batch#EksPodPropertiesOverride": { + "type": "structure", + "members": { + "containers": { + "target": "com.amazonaws.batch#EksContainerOverrideList", + "traits": { + "smithy.api#documentation": "

The overrides for the container that's used on the Amazon EKS pod.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains overrides for the Kubernetes pod properties of a job.

" + } + }, + "com.amazonaws.batch#EksProperties": { + "type": "structure", + "members": { + "podProperties": { + "target": "com.amazonaws.batch#EksPodProperties", + "traits": { + "smithy.api#documentation": "

The properties for the Kubernetes pod resources of a job.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains the properties for the Kubernetes resources of a job.

" + } + }, + "com.amazonaws.batch#EksPropertiesDetail": { + "type": "structure", + "members": { + "podProperties": { + "target": "com.amazonaws.batch#EksPodPropertiesDetail", "traits": { - "smithy.api#documentation": "

Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.\n If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this parameter is\n omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS access points in the\n Batch User Guide. EFS IAM authorization requires that TransitEncryption be\n ENABLED and that a JobRoleArn is specified.

" + "smithy.api#documentation": "

The properties for the Kubernetes pod resources of a job.

" } } }, "traits": { - "smithy.api#documentation": "

The authorization configuration details for the Amazon EFS file system.

" + "smithy.api#documentation": "

An object that contains the details for the Kubernetes resources of a job.

" } }, - "com.amazonaws.batch#EFSAuthorizationConfigIAM": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "com.amazonaws.batch#EksPropertiesOverride": { + "type": "structure", + "members": { + "podProperties": { + "target": "com.amazonaws.batch#EksPodPropertiesOverride", + "traits": { + "smithy.api#documentation": "

The overrides for the Kubernetes pod resources of a job.

" } - ] + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains overrides for the Kubernetes resources of a job.

" } }, - "com.amazonaws.batch#EFSTransitEncryption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - } - ] + "com.amazonaws.batch#EksRequests": { + "type": "map", + "key": { + "target": "com.amazonaws.batch#String" + }, + "value": { + "target": "com.amazonaws.batch#Quantity" } }, - "com.amazonaws.batch#EFSVolumeConfiguration": { + "com.amazonaws.batch#EksSecret": { "type": "structure", "members": { - "fileSystemId": { + "secretName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon EFS file system ID to use.

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

The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain\n names in the Kubernetes documentation.

", "smithy.api#required": {} } }, - "rootDirectory": { - "target": "com.amazonaws.batch#String", - "traits": { - "smithy.api#documentation": "

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is\n omitted, the root of the Amazon EFS volume is used instead. Specifying / has the same effect as omitting this\n parameter. The maximum length is 4,096 characters.

\n \n

If an EFS access point is specified in the authorizationConfig, the root directory parameter must\n either be omitted or set to /, which enforces the path set on the Amazon EFS access point.

\n
" - } - }, - "transitEncryption": { - "target": "com.amazonaws.batch#EFSTransitEncryption", - "traits": { - "smithy.api#documentation": "

Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.\n Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default\n value of DISABLED is used. For more information, see Encrypting data in transit in the\n Amazon Elastic File System User Guide.

" - } - }, - "transitEncryptionPort": { - "target": "com.amazonaws.batch#Integer", - "traits": { - "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a\n transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be\n between 0 and 65,535. For more information, see EFS mount helper in the Amazon Elastic File System User Guide.

" - } - }, - "authorizationConfig": { - "target": "com.amazonaws.batch#EFSAuthorizationConfig", + "optional": { + "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

The authorization configuration details for the Amazon EFS file system.

" + "smithy.api#documentation": "

Specifies whether the secret or the secret's keys must be defined.

" } } }, "traits": { - "smithy.api#documentation": "

This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see Amazon EFS Volumes in the\n Batch User Guide.

" + "smithy.api#documentation": "

Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes\n documentation.

" } }, - "com.amazonaws.batch#Ec2Configuration": { + "com.amazonaws.batch#EksVolume": { "type": "structure", "members": { - "imageType": { - "target": "com.amazonaws.batch#ImageType", + "name": { + "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The image type to match with the instance type to select an AMI. If the imageIdOverride parameter\n isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI\n (ECS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type\n that's supported by Batch is used.

\n
\n
ECS_AL2
\n
\n

\n Amazon Linux\n 2− Default for all non-GPU instance families.

\n
\n
ECS_AL2_NVIDIA
\n
\n

\n Amazon Linux\n 2 (GPU)−Default for all GPU instance families (for example P4 and G4) and\n can be used for all non Amazon Web Services Graviton-based instance types.

\n
\n
ECS_AL1
\n
\n

\n Amazon Linux.\n Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.

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

The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain\n names in the Kubernetes documentation.

", "smithy.api#required": {} } }, - "imageIdOverride": { - "target": "com.amazonaws.batch#ImageIdOverride", + "hostPath": { + "target": "com.amazonaws.batch#EksHostPath", "traits": { - "smithy.api#documentation": "

The AMI ID used for instances launched in the compute environment that match the image type. This setting\n overrides the imageId set in the computeResource object.

\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

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

Specifies the configuration of a Kubernetes hostPath volume. For more information, see hostPath in the Kubernetes\n documentation.

" + } + }, + "emptyDir": { + "target": "com.amazonaws.batch#EksEmptyDir", + "traits": { + "smithy.api#documentation": "

Specifies the configuration of a Kubernetes emptyDir volume. For more information, see emptyDir in the Kubernetes\n documentation.

" + } + }, + "secret": { + "target": "com.amazonaws.batch#EksSecret", + "traits": { + "smithy.api#documentation": "

Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes\n documentation.

" } } }, "traits": { - "smithy.api#documentation": "

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If\n Ec2Configuration isn't specified, the default is ECS_AL2 (Amazon Linux 2).

\n \n

This object isn't applicable to jobs that are running on Fargate resources.

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

Specifies an Amazon EKS volume for a job definition.

" } }, - "com.amazonaws.batch#Ec2ConfigurationList": { + "com.amazonaws.batch#EksVolumes": { "type": "list", "member": { - "target": "com.amazonaws.batch#Ec2Configuration" + "target": "com.amazonaws.batch#EksVolume" } }, "com.amazonaws.batch#EnvironmentVariables": { @@ -2155,31 +4644,31 @@ "onStatusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up\n to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including\n spaces or tabs).\n It can optionally end with an\n asterisk (*) so that only the start of the string needs to be an exact match.

\n

The string can be between 1 and 512 characters in length.

" + "smithy.api#documentation": "

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can\n contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including\n spaces or tabs). It can optionally end with\n an asterisk (*) so that only the start of the string needs to be an exact match.

" } }, "onReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to\n 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces\n and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact\n match.

\n

The string can be between 1 and 512 characters in length.

" + "smithy.api#documentation": "

Contains a glob pattern to match against the Reason returned for a job. The pattern can contain up\n to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and\n tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact\n match.

" } }, "onExitCode": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

Contains a glob pattern to match against the decimal representation of the ExitCode returned for a\n job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an\n asterisk (*) so that only the start of the string needs to be an exact match.

\n

The string can be between 1 and 512 characters in length.

" + "smithy.api#documentation": "

Contains a glob pattern to match against the decimal representation of the ExitCode returned for a\n job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so\n that only the start of the string needs to be an exact match.

\n

The string can contain up to 512 characters.

" } }, "action": { "target": "com.amazonaws.batch#RetryAction", "traits": { - "smithy.api#documentation": "

Specifies the action to take if all of the specified conditions (onStatusReason,\n onReason, and onExitCode) are met. The values aren't case sensitive.

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

Specifies the action to take if all of the specified conditions (onStatusReason,\n onReason, and onExitCode) are met. The values aren't case sensitive.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

Specifies a set of conditions to be met, and an action to take (RETRY or EXIT) if all\n conditions are met.

" + "smithy.api#documentation": "

Specifies an array of up to 5 conditions to be met, and an action to take (RETRY or\n EXIT) if all conditions are met. If none of the EvaluateOnExit conditions in a\n RetryStrategy match, then the job is retried.

" } }, "com.amazonaws.batch#EvaluateOnExitList": { @@ -2194,13 +4683,13 @@ "shareDecaySeconds": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The time period to use to calculate a fair share percentage for each fair share identifier in use, in seconds. A\n value of zero (0) indicates that only current usage should be measured. The decay allows for more recently run jobs\n to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).

" + "smithy.api#documentation": "

The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in\n use. A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs\n to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).

" } }, "computeReservation": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been\n used.

\n

The reserved ratio is\n (computeReservation/100)^ActiveFairShares\n where\n \n ActiveFairShares\n is the number of active fair share identifiers.

\n

For example, a computeReservation value of 50 indicates that Batch should reserve 50% of the\n maximum available vCPU if there is only one fair share identifier, 25% if there are two fair share identifiers, and\n 12.5% if there are three fair share identifiers. A computeReservation value of 25 indicates that Batch\n should reserve 25% of the maximum available vCPU if there is only one fair share identifier, 6.25% if there are two\n fair share identifiers, and 1.56% if there are three fair share identifiers.

\n

The minimum value is 0 and the maximum value is 99.

" + "smithy.api#documentation": "

A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already\n used.

\n

The reserved ratio is\n (computeReservation/100)^ActiveFairShares\n where\n \n ActiveFairShares\n is the number of active fair share identifiers.

\n

For example, a computeReservation value of 50 indicates that Batchreserves 50% of the maximum\n available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It\n reserves 12.5% if there are three fair share identifiers. A computeReservation value of 25 indicates\n that Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if\n there are two fair share identifiers, and 1.56% if there are three fair share identifiers.

\n

The minimum value is 0 and the maximum value is 99.

" } }, "shareDistribution": { @@ -2229,10 +4718,7 @@ } }, "com.amazonaws.batch#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.batch#Host": { "type": "structure", @@ -2240,12 +4726,12 @@ "sourcePath": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The path on the host container instance that's presented to the container. If this parameter is empty, then the\n Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume\n persists at the specified location on the host container instance until you delete it manually. If the source path\n location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the\n contents of the source path folder are exported.

\n \n

This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.

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

The path on the host container instance that's presented to the container. If this parameter is empty, then the\n Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume\n persists at the specified location on the host container instance until you delete it manually. If the source path\n location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the\n contents of the source path folder are exported.

\n \n

This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these\n jobs.

\n
" } } }, "traits": { - "smithy.api#documentation": "

Determine whether your data volume persists on the host container instance and where it is stored. If this\n parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data isn't guaranteed to\n persist after the containers associated with it stop running.

" + "smithy.api#documentation": "

Determine whether your data volume persists on the host container instance and where it's stored. If this\n parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't\n guaranteed to persist after the containers that are associated with it stop running.

" } }, "com.amazonaws.batch#ImageIdOverride": { @@ -2267,55 +4753,64 @@ } }, "com.amazonaws.batch#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.batch#JQState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.batch#JQStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "VALID", - "name": "VALID" - }, - { - "value": "INVALID", - "name": "INVALID" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "VALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALID" + } + }, + "INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID" } - ] + } } }, "com.amazonaws.batch#JobDefinition": { @@ -2351,7 +4846,7 @@ "type": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The type of job definition, either container or multinode. If the job is run on\n Fargate resources, then multinode isn't supported. For more information about multi-node parallel\n jobs, see Creating a multi-node parallel job\n definition in the Batch User Guide.

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

The type of job definition. It's either container or multinode. If the job is run on\n Fargate resources, then multinode isn't supported. For more information about multi-node parallel\n jobs, see Creating a multi-node parallel job\n definition in the Batch User Guide.

", "smithy.api#required": {} } }, @@ -2364,7 +4859,7 @@ "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { - "smithy.api#documentation": "

Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are\n specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding\n parameter defaults from the job definition. For more information about specifying parameters, see Job definition parameters in the\n Batch User Guide.

" + "smithy.api#documentation": "

Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are\n specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding\n parameter defaults from the job definition. For more information about specifying parameters, see Job definition parameters in the\n Batch User Guide.

" } }, "retryStrategy": { @@ -2376,42 +4871,54 @@ "containerProperties": { "target": "com.amazonaws.batch#ContainerProperties", "traits": { - "smithy.api#documentation": "

An object with various properties specific to container-based jobs.

" + "smithy.api#documentation": "

An object with various properties specific to Amazon ECS based jobs. Valid values are\n containerProperties, eksProperties, and nodeProperties. Only one can be\n specified.

" } }, "timeout": { "target": "com.amazonaws.batch#JobTimeout", "traits": { - "smithy.api#documentation": "

The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout\n duration after which Batch terminates your jobs if they haven't finished.

" + "smithy.api#documentation": "

The timeout time for jobs that are submitted with this job definition. After the amount of time you specify\n passes, Batch terminates your jobs if they aren't finished.

" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodeProperties", "traits": { - "smithy.api#documentation": "

An object with various properties specific to multi-node parallel jobs.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use\n containerProperties instead.

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

An object with various properties that are specific to multi-node parallel jobs. Valid values are\n containerProperties, eksProperties, and nodeProperties. Only one can be\n specified.

\n \n

If the job runs on Fargate resources, don't specify nodeProperties. Use\n containerProperties instead.

\n
" } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

The tags applied to the job definition.

" + "smithy.api#documentation": "

The tags that are applied to the job definition.

" } }, "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

" + "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created.\n For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined\n tags from the job and job definition is over 50, the job is moved to the FAILED state.

" } }, "platformCapabilities": { "target": "com.amazonaws.batch#PlatformCapabilityList", "traits": { - "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. Jobs run on Fargate resources specify FARGATE.

" + "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. Jobs run on Fargate resources specify FARGATE.

" + } + }, + "eksProperties": { + "target": "com.amazonaws.batch#EksProperties", + "traits": { + "smithy.api#documentation": "

An object with various properties that are specific to Amazon EKS based jobs. Valid values are\n containerProperties, eksProperties, and nodeProperties. Only one can be\n specified.

" + } + }, + "containerOrchestrationType": { + "target": "com.amazonaws.batch#OrchestrationType", + "traits": { + "smithy.api#documentation": "

The orchestration type of the compute environment. The valid values are ECS (default) or\n EKS.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing an Batch job definition.

" + "smithy.api#documentation": "

An object that represents an Batch job definition.

" } }, "com.amazonaws.batch#JobDefinitionList": { @@ -2421,18 +4928,20 @@ } }, "com.amazonaws.batch#JobDefinitionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "container", - "name": "Container" - }, - { - "value": "multinode", - "name": "Multinode" + "type": "enum", + "members": { + "Container": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "container" + } + }, + "Multinode": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "multinode" } - ] + } } }, "com.amazonaws.batch#JobDependency": { @@ -2441,7 +4950,7 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The job ID of the Batch job associated with this dependency.

" + "smithy.api#documentation": "

The job ID of the Batch job that's associated with this dependency.

" } }, "type": { @@ -2452,7 +4961,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing an Batch job dependency.

" + "smithy.api#documentation": "

An object that represents an Batch job dependency.

" } }, "com.amazonaws.batch#JobDependencyList": { @@ -2473,14 +4982,14 @@ "jobName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the job.

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

The job name.

", "smithy.api#required": {} } }, "jobId": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The ID for the job.

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

The job ID.

", "smithy.api#required": {} } }, @@ -2513,19 +5022,19 @@ "attempts": { "target": "com.amazonaws.batch#AttemptDetails", "traits": { - "smithy.api#documentation": "

A list of job attempts associated with this job.

" + "smithy.api#documentation": "

A list of job attempts that are associated with this job.

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job.

" + "smithy.api#documentation": "

A short, human-readable string to provide more details for the current status of the job.

" } }, "createdAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs,\n this is when the job entered the SUBMITTED state (at the time SubmitJob was called).\n For array child jobs, this is when the child job was spawned by its parent and entered the PENDING\n state.

" + "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs,\n this is when the job entered the SUBMITTED state. This is specifically at the time SubmitJob was called. For array child jobs, this is when the child job was spawned by its parent and\n entered the PENDING state.

" } }, "retryStrategy": { @@ -2537,14 +5046,14 @@ "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was started (when the job transitioned from the\n STARTING state to the RUNNING state). This parameter isn't provided for child jobs of\n array jobs or multi-node parallel jobs.

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

The Unix timestamp (in milliseconds) for when the job was started. More specifically, it's when the job\n transitioned from the STARTING state to the RUNNING state. This parameter isn't provided\n for child jobs of array jobs or multi-node parallel jobs.

", "smithy.api#required": {} } }, "stoppedAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the\n RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

" + "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was stopped. More specifically, it's when the job\n transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or\n FAILED.

" } }, "dependsOn": { @@ -2556,38 +5065,38 @@ "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job definition that's used by this job.

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

The Amazon Resource Name (ARN) of the job definition that this job uses.

", "smithy.api#required": {} } }, "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { - "smithy.api#documentation": "

Additional parameters passed to the job that replace parameter substitution placeholders or override any\n corresponding parameter defaults from the job definition.

" + "smithy.api#documentation": "

Additional parameters that are passed to the job that replace parameter substitution placeholders or override\n any corresponding parameter defaults from the job definition.

" } }, "container": { "target": "com.amazonaws.batch#ContainerDetail", "traits": { - "smithy.api#documentation": "

An object representing the details of the container that's associated with the job.

" + "smithy.api#documentation": "

An object that represents the details for the container that's associated with the job.

" } }, "nodeDetails": { "target": "com.amazonaws.batch#NodeDetails", "traits": { - "smithy.api#documentation": "

An object representing the details of a node that's associated with a multi-node parallel job.

" + "smithy.api#documentation": "

An object that represents the details of a node that's associated with a multi-node parallel job.

" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodeProperties", "traits": { - "smithy.api#documentation": "

An object representing the node properties of a multi-node parallel job.

\n \n

This isn't applicable to jobs that are running on Fargate resources.

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

An object that represents the node properties of a multi-node parallel job.

\n \n

This isn't applicable to jobs that are running on Fargate resources.

\n
" } }, "arrayProperties": { "target": "com.amazonaws.batch#ArrayPropertiesDetail", "traits": { - "smithy.api#documentation": "

The array properties of the job, if it is an array job.

" + "smithy.api#documentation": "

The array properties of the job, if it's an array job.

" } }, "timeout": { @@ -2599,24 +5108,36 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

The tags applied to the job.

" + "smithy.api#documentation": "

The tags that are applied to the job.

" } }, "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

" + "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created.\n For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined\n tags from the job and job definition is over 50, the job is moved to the FAILED state.

" } }, "platformCapabilities": { "target": "com.amazonaws.batch#PlatformCapabilityList", "traits": { - "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. Jobs run on Fargate resources specify FARGATE.

" + "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. Jobs run on Fargate resources specify FARGATE.

" + } + }, + "eksProperties": { + "target": "com.amazonaws.batch#EksPropertiesDetail", + "traits": { + "smithy.api#documentation": "

An object with various properties that are specific to Amazon EKS based jobs. Only one of container,\n eksProperties, or nodeDetails is specified.

" + } + }, + "eksAttempts": { + "target": "com.amazonaws.batch#EksAttemptDetails", + "traits": { + "smithy.api#documentation": "

A list of job attempts that are associated with this job.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing an Batch job.

" + "smithy.api#documentation": "

An object that represents an Batch job.

" } }, "com.amazonaws.batch#JobDetailList": { @@ -2628,6 +5149,7 @@ "com.amazonaws.batch#JobExecutionTimeoutMinutes": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 360 @@ -2640,7 +5162,7 @@ "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the job queue.

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

The job queue name.

", "smithy.api#required": {} } }, @@ -2654,14 +5176,14 @@ "state": { "target": "com.amazonaws.batch#JQState", "traits": { - "smithy.api#documentation": "

Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED, it's able\n to accept jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs\n already in the queue can finish.

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

Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED, it can\n accept jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs already\n in the queue can finish.

", "smithy.api#required": {} } }, "schedulingPolicyArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.

" } }, "status": { @@ -2673,13 +5195,13 @@ "statusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job queue.

" + "smithy.api#documentation": "

A short, human-readable string to provide additional details for the current status of the job queue.

" } }, "priority": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n priority parameter) are evaluated first when associated with the same compute environment. Priority is\n determined in descending order, for example, a job queue with a priority value of 10 is given scheduling\n preference over a job queue with a priority value of 1. All of the compute environments must be either\n EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and\n Fargate compute environments can't be mixed.

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

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n priority parameter) are evaluated first when associated with the same compute environment. Priority is\n determined in descending order. For example, a job queue with a priority value of 10 is given scheduling\n preference over a job queue with a priority value of 1. All of the compute environments must be either\n EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and\n Fargate compute environments can't be mixed.

", "smithy.api#required": {} } }, @@ -2693,12 +5215,12 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

The tags applied to the job queue. For more information, see Tagging your Batch resources in\n Batch User Guide.

" + "smithy.api#documentation": "

The tags that are applied to the job queue. For more information, see Tagging your Batch resources in\n Batch User Guide.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing the details of an Batch job queue.

" + "smithy.api#documentation": "

An object that represents the details for an Batch job queue.

" } }, "com.amazonaws.batch#JobQueueDetailList": { @@ -2708,38 +5230,50 @@ } }, "com.amazonaws.batch#JobStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUBMITTED", - "name": "SUBMITTED" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "RUNNABLE", - "name": "RUNNABLE" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "SUBMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUBMITTED" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" } - ] + }, + "RUNNABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNABLE" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.batch#JobSummary": { @@ -2754,14 +5288,14 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The ID of the job.

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

The job ID.

", "smithy.api#required": {} } }, "jobName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the job.

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

The job name.

", "smithy.api#required": {} } }, @@ -2780,31 +5314,31 @@ "statusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job.

" + "smithy.api#documentation": "

A short, human-readable string to provide more details for the current status of the job.

" } }, "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the job was started (when the job transitioned from the STARTING state\n to the RUNNING state).

" + "smithy.api#documentation": "

The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the\n STARTING state to the RUNNING state.

" } }, "stoppedAt": { "target": "com.amazonaws.batch#Long", "traits": { - "smithy.api#documentation": "

The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING state\n to a terminal state, such as SUCCEEDED or FAILED).

" + "smithy.api#documentation": "

The Unix timestamp for when the job was stopped. More specifically, it's when the job transitioned from the\n RUNNING state to a terminal state, such as SUCCEEDED or FAILED.

" } }, "container": { "target": "com.amazonaws.batch#ContainerSummary", "traits": { - "smithy.api#documentation": "

An object representing the details of the container that's associated with the job.

" + "smithy.api#documentation": "

An object that represents the details of the container that's associated with the job.

" } }, "arrayProperties": { "target": "com.amazonaws.batch#ArrayPropertiesSummary", "traits": { - "smithy.api#documentation": "

The array properties of the job, if it is an array job.

" + "smithy.api#documentation": "

The array properties of the job, if it's an array job.

" } }, "nodeProperties": { @@ -2821,7 +5355,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing summary details of a job.

" + "smithy.api#documentation": "

An object that represents summary details of a job.

" } }, "com.amazonaws.batch#JobSummaryList": { @@ -2836,12 +5370,12 @@ "attemptDurationSeconds": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The time duration in seconds (measured from the job attempt's startedAt timestamp) after which\n Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.

" + "smithy.api#documentation": "

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After\n this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60\n seconds.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing a job timeout configuration.

" + "smithy.api#documentation": "

An object that represents a job timeout configuration.

" } }, "com.amazonaws.batch#KeyValuePair": { @@ -2884,6 +5418,15 @@ "smithy.api#documentation": "

A filter name and value pair that's used to return a more specific list of results from a ListJobs\n API operation.

" } }, + "com.amazonaws.batch#KubernetesVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, "com.amazonaws.batch#LaunchTemplateSpecification": { "type": "structure", "members": { @@ -2902,12 +5445,12 @@ "version": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The version number of the launch template, $Latest, or $Default.

\n

If the value is $Latest, the latest version of the launch template is used. If the value is\n $Default, the default version of the launch template is used.

\n \n

If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the\n compute environment is updated. It's only changed if the updateToLatestImageVersion parameter for the compute\n environment is set to true. During an infrastructure update, if either $Latest or\n $Default is specified, Batch re-evaluates the launch template version, and it might use a different\n version of the launch template. This is the case even if the launch template isn't specified in the update. When\n updating a compute environment, changing the launch template requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n
\n

Default: $Default.

" + "smithy.api#documentation": "

The version number of the launch template, $Latest, or $Default.

\n

If the value is $Latest, the latest version of the launch template is used. If the value is\n $Default, the default version of the launch template is used.

\n \n

If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the\n compute environment is updated. It's only changed if the updateToLatestImageVersion parameter for the\n compute environment is set to true. During an infrastructure update, if either $Latest or\n $Default is specified, Batch re-evaluates the launch template version, and it might use a different\n version of the launch template. This is the case even if the launch template isn't specified in the update. When\n updating a compute environment, changing the launch template requires an infrastructure update of the compute\n environment. For more information, see Updating compute environments in the\n Batch User Guide.

\n
\n

Default: $Default.

" } } }, "traits": { - "smithy.api#documentation": "

An object representing a launch template associated with a compute resource. You must specify either the launch\n template ID or launch template name in the request, but not both.

\n

If security groups are specified using both the securityGroupIds parameter of\n CreateComputeEnvironment and the launch template, the values in the securityGroupIds\n parameter of CreateComputeEnvironment will be used.

\n \n

This object isn't applicable to jobs that are running on Fargate resources.

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

An object that represents a launch template that's associated with a compute resource. You must specify either\n the launch template ID or launch template name in the request, but not both.

\n

If security groups are specified using both the securityGroupIds parameter of\n CreateComputeEnvironment and the launch template, the values in the securityGroupIds\n parameter of CreateComputeEnvironment will be used.

\n \n

This object isn't applicable to jobs that are running on Fargate resources.

\n
" } }, "com.amazonaws.batch#LinuxParameters": { @@ -2916,37 +5459,37 @@ "devices": { "target": "com.amazonaws.batch#DevicesList", "traits": { - "smithy.api#documentation": "

Any host devices to expose to the container. This parameter maps to Devices in the\n Create a container section of the Docker Remote API and the --device option to docker run.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

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

Any of the host devices to expose to the container. This parameter maps to Devices in the\n Create a container section of the Docker Remote API and the --device option to docker run.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these\n jobs.

\n
" } }, "initProcessEnabled": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

If true, run an init process inside the container that forwards signals and reaps processes. This\n parameter maps to the --init option to docker run.\n This parameter requires version 1.25 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

" + "smithy.api#documentation": "

If true, run an init process inside the container that forwards signals and reaps processes. This\n parameter maps to the --init option to docker run.\n This parameter requires version 1.25 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log in to your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

" } }, "sharedMemorySize": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The value for the size (in MiB) of the /dev/shm volume. This parameter maps to the\n --shm-size option to docker run.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

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

The value for the size (in MiB) of the /dev/shm volume. This parameter maps to the\n --shm-size option to docker run.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these\n jobs.

\n
" } }, "tmpfs": { "target": "com.amazonaws.batch#TmpfsList", "traits": { - "smithy.api#documentation": "

The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the\n --tmpfs option to docker run.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

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

The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the\n --tmpfs option to docker run.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter\n for this resource type.

\n
" } }, "maxSwap": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The total amount of swap memory (in MiB) a container can use. This parameter is translated to the\n --memory-swap option to docker run where the value is the\n sum of the container memory plus the maxSwap value. For more information, see \n --memory-swap details in the Docker documentation.

\n

If a maxSwap value of 0 is specified, the container doesn't use swap. Accepted values\n are 0 or any positive integer. If the maxSwap parameter is omitted, the container doesn't\n use the swap configuration for the container instance it is running on. A maxSwap value must be set for\n the swappiness parameter to be used.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

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

The total amount of swap memory (in MiB) a container can use. This parameter is translated to the\n --memory-swap option to docker run where the value is the\n sum of the container memory plus the maxSwap value. For more information, see \n --memory-swap details in the Docker documentation.

\n

If a maxSwap value of 0 is specified, the container doesn't use swap. Accepted values\n are 0 or any positive integer. If the maxSwap parameter is omitted, the container doesn't\n use the swap configuration for the container instance that it's running on. A maxSwap value must be set\n for the swappiness parameter to be used.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these\n jobs.

\n
" } }, "swappiness": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

This allows you to tune a container's memory swappiness behavior. A swappiness value of\n 0 causes swapping not to happen unless absolutely necessary. A swappiness value of\n 100 causes pages to be swapped very aggressively. Accepted values are whole numbers between\n 0 and 100. If the swappiness parameter isn't specified, a default value of\n 60 is used. If a value isn't specified for maxSwap, then this parameter is ignored. If\n maxSwap is set to 0, the container doesn't use swap. This parameter maps to the\n --memory-swappiness option to docker run.

\n

Consider the following when you use a per-container swap configuration.

\n \n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

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

You can use this parameter to tune a container's memory swappiness behavior. A swappiness value of\n 0 causes swapping to not occur unless absolutely necessary. A swappiness value of\n 100 causes pages to be swapped aggressively. Valid values are whole numbers between 0 and\n 100. If the swappiness parameter isn't specified, a default value of 60 is\n used. If a value isn't specified for maxSwap, then this parameter is ignored. If maxSwap is\n set to 0, the container doesn't use swap. This parameter maps to the --memory-swappiness option to\n docker run.

\n

Consider the following when you use a per-container swap configuration.

\n \n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these\n jobs.

\n
" } } }, @@ -3027,13 +5570,13 @@ "nextToken": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The nextToken value returned from a previous paginated ListJobs request where\n maxResults was 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. This value is null when\n there are no more results to return.

\n \n

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

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

The nextToken value returned from a previous paginated ListJobs request where\n maxResults was 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. This value is null when\n there are no more results to return.

\n \n

Treat this token as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } }, "filters": { "target": "com.amazonaws.batch#ListJobsFilterList", "traits": { - "smithy.api#documentation": "

The filter to apply to the query. Only one filter can be used at a time. When the filter is used,\n jobStatus is ignored. The filter doesn't apply to child jobs in an array or multi-node parallel (MNP)\n jobs. The results are sorted by the createdAt field, with the most recent jobs being first.

\n
\n
JOB_NAME
\n
\n

The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*),\n the filter will match any job name that begins with the string before the '*'. This corresponds to the\n jobName value. For example, test1 matches both Test1 and\n test1, and test1* matches both test1 and Test10. When the\n JOB_NAME filter is used, the results are grouped by the job name and version.

\n
\n
JOB_DEFINITION
\n
\n

The value for the filter is the name or Amazon Resource Name (ARN) of the job definition. This corresponds to the\n jobDefinition value. The value is case sensitive. When the value for the filter is the job\n definition name, the results include all the jobs that used any revision of that job definition name. If the value\n ends with an asterisk (*), the filter will match any job definition name that begins with the string before the\n '*'. For example, jd1 matches only jd1, and jd1* matches both\n jd1 and jd1A. The version of the job definition that's used doesn't affect the sort\n order. When the JOB_DEFINITION filter is used and the ARN is used (which is in the form\n arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}), the\n results include jobs that used the specified revision of the job definition. Asterisk (*) is not supported when\n the ARN is used.

\n
\n
BEFORE_CREATED_AT
\n
\n

The value for the filter is the time that's before the job was created. This corresponds to the\n createdAt value. The value is a string representation of the number of milliseconds since 00:00:00\n UTC (midnight) on January 1, 1970.

\n
\n
AFTER_CREATED_AT
\n
\n

The value for the filter is the time that's after the job was created. This corresponds to the\n createdAt value. The value is a string representation of the number of milliseconds since 00:00:00\n UTC (midnight) on January 1, 1970.

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

The filter to apply to the query. Only one filter can be used at a time. When the filter is used,\n jobStatus is ignored. The filter doesn't apply to child jobs in an array or multi-node parallel (MNP)\n jobs. The results are sorted by the createdAt field, with the most recent jobs being first.

\n
\n
JOB_NAME
\n
\n

The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*),\n the filter matches any job name that begins with the string before the '*'. This corresponds to the\n jobName value. For example, test1 matches both Test1 and\n test1, and test1* matches both test1 and Test10. When the\n JOB_NAME filter is used, the results are grouped by the job name and version.

\n
\n
JOB_DEFINITION
\n
\n

The value for the filter is the name or Amazon Resource Name (ARN) of the job definition. This corresponds to the\n jobDefinition value. The value is case sensitive. When the value for the filter is the job definition\n name, the results include all the jobs that used any revision of that job definition name. If the value ends with\n an asterisk (*), the filter matches any job definition name that begins with the string before the '*'. For\n example, jd1 matches only jd1, and jd1* matches both jd1 and\n jd1A. The version of the job definition that's used doesn't affect the sort order. When the\n JOB_DEFINITION filter is used and the ARN is used (which is in the form\n arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}), the\n results include jobs that used the specified revision of the job definition. Asterisk (*) isn't supported when the\n ARN is used.

\n
\n
BEFORE_CREATED_AT
\n
\n

The value for the filter is the time that's before the job was created. This corresponds to the\n createdAt value. The value is a string representation of the number of milliseconds since 00:00:00\n UTC (midnight) on January 1, 1970.

\n
\n
AFTER_CREATED_AT
\n
\n

The value for the filter is the time that's after the job was created. This corresponds to the\n createdAt value. The value is a string representation of the number of milliseconds since 00:00:00\n UTC (midnight) on January 1, 1970.

\n
\n
" } } }, @@ -3102,7 +5645,7 @@ "nextToken": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The nextToken value that's returned from a previous paginated ListSchedulingPolicies\n request where maxResults was used and the results exceeded the value of that parameter. Pagination\n continues from the end of the previous results that returned the nextToken value. This value is\n null when there are no more results to\n return.

\n \n

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

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

The nextToken value that's returned from a previous paginated\n ListSchedulingPolicies request 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. This value is\n null when there are no more results to return.

\n \n

Treat this token as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, @@ -3144,7 +5687,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

", "smithy.api#http": { "method": "GET", "uri": "/v1/tags/{resourceArn}", @@ -3158,7 +5701,7 @@ "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3185,20 +5728,20 @@ "logDriver": { "target": "com.amazonaws.batch#LogDriver", "traits": { - "smithy.api#documentation": "

The log driver to use for the container. The valid values listed for this parameter are log drivers that the\n Amazon ECS container agent can communicate with by default.

\n

The supported log drivers are awslogs, fluentd, gelf,\n json-file, journald, logentries, syslog, and\n splunk.

\n \n

Jobs that are running on Fargate resources are restricted to the awslogs and splunk\n log drivers.

\n
\n
\n
awslogs
\n
\n

Specifies the Amazon CloudWatch Logs logging driver. For more information, see Using the awslogs log driver in the\n Batch User Guide and Amazon CloudWatch Logs logging driver in the Docker documentation.

\n
\n
fluentd
\n
\n

Specifies the Fluentd logging driver. For more information, including usage and options, see Fluentd logging driver in the Docker\n documentation.

\n
\n
gelf
\n
\n

Specifies the Graylog Extended Format (GELF) logging driver. For more information, including usage and\n options, see Graylog Extended Format logging\n driver in the Docker documentation.

\n
\n
journald
\n
\n

Specifies the journald logging driver. For more information, including usage and options, see Journald logging driver in the Docker\n documentation.

\n
\n
json-file
\n
\n

Specifies the JSON file logging driver. For more information, including usage and options, see JSON File logging driver in the Docker\n documentation.

\n
\n
splunk
\n
\n

Specifies the Splunk logging driver. For more information, including usage and options, see Splunk logging driver in the Docker\n documentation.

\n
\n
syslog
\n
\n

Specifies the syslog logging driver. For more information, including usage and options, see Syslog logging driver in the Docker\n documentation.

\n
\n
\n \n

If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you\n can fork the Amazon ECS container agent project that's available on\n GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that\n you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this\n software.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

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

The log driver to use for the container. The valid values that are listed for this parameter are log drivers\n that the Amazon ECS container agent can communicate with by default.

\n

The supported log drivers are awslogs, fluentd, gelf,\n json-file, journald, logentries, syslog, and\n splunk.

\n \n

Jobs that are running on Fargate resources are restricted to the awslogs and splunk\n log drivers.

\n
\n
\n
awslogs
\n
\n

Specifies the Amazon CloudWatch Logs logging driver. For more information, see Using the awslogs log driver in the\n Batch User Guide and Amazon CloudWatch Logs logging driver in the Docker documentation.

\n
\n
fluentd
\n
\n

Specifies the Fluentd logging driver. For more information including usage and options, see Fluentd logging driver in the\n Docker documentation.

\n
\n
gelf
\n
\n

Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and\n options, see Graylog Extended Format logging\n driver in the Docker documentation.

\n
\n
journald
\n
\n

Specifies the journald logging driver. For more information including usage and options, see Journald logging driver in the\n Docker documentation.

\n
\n
json-file
\n
\n

Specifies the JSON file logging driver. For more information including usage and options, see JSON File logging driver in the\n Docker documentation.

\n
\n
splunk
\n
\n

Specifies the Splunk logging driver. For more information including usage and options, see Splunk logging driver in the\n Docker documentation.

\n
\n
syslog
\n
\n

Specifies the syslog logging driver. For more information including usage and options, see Syslog logging driver in the\n Docker documentation.

\n
\n
\n \n

If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you\n can fork the Amazon ECS container agent project that's available on\n GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that\n you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this\n software.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log in to your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

", "smithy.api#required": {} } }, "options": { "target": "com.amazonaws.batch#LogConfigurationOptionsMap", "traits": { - "smithy.api#documentation": "

The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

" + "smithy.api#documentation": "

The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log in to your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

" } }, "secretOptions": { "target": "com.amazonaws.batch#SecretList", "traits": { - "smithy.api#documentation": "

The secrets to pass to the log configuration. For more information, see Specifying sensitive data in the\n Batch User Guide.

" + "smithy.api#documentation": "

The secrets to pass to the log configuration. For more information, see Specifying sensitive data in the\n Batch User Guide.

" } } }, @@ -3216,45 +5759,54 @@ } }, "com.amazonaws.batch#LogDriver": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "json-file", - "name": "JSON_FILE" - }, - { - "value": "syslog", - "name": "SYSLOG" - }, - { - "value": "journald", - "name": "JOURNALD" - }, - { - "value": "gelf", - "name": "GELF" - }, - { - "value": "fluentd", - "name": "FLUENTD" - }, - { - "value": "awslogs", - "name": "AWSLOGS" - }, - { - "value": "splunk", - "name": "SPLUNK" + "type": "enum", + "members": { + "JSON_FILE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "json-file" + } + }, + "SYSLOG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "syslog" + } + }, + "JOURNALD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "journald" + } + }, + "GELF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gelf" + } + }, + "FLUENTD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fluentd" + } + }, + "AWSLOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "awslogs" + } + }, + "SPLUNK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "splunk" } - ] + } } }, "com.amazonaws.batch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.batch#MountPoint": { "type": "structure", @@ -3279,7 +5831,7 @@ } }, "traits": { - "smithy.api#documentation": "

Details on a Docker volume mount point that's used in a job's container properties. This parameter maps to\n Volumes in the Create a\n container section of the Docker Remote API and the --volume option to docker run.

" + "smithy.api#documentation": "

Details for a Docker volume mount point that's used in a job's container properties. This parameter maps to\n Volumes in the Create a\n container section of the Docker Remote API and the --volume option to\n docker run.

" } }, "com.amazonaws.batch#MountPoints": { @@ -3294,7 +5846,7 @@ "assignPublicIp": { "target": "com.amazonaws.batch#AssignPublicIp", "traits": { - "smithy.api#documentation": "

Indicates whether the job should have a public IP address. For a job that is running on Fargate resources in a\n private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet\n requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The\n default value is \"DISABLED\".

" + "smithy.api#documentation": "

Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private\n subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires\n a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking in the\n Amazon Elastic Container Service Developer Guide. The default value is \"DISABLED\".

" } } }, @@ -3325,7 +5877,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the elastic network interface for a multi-node parallel job node.

" + "smithy.api#documentation": "

An object that represents the elastic network interface for a multi-node parallel job node.

" } }, "com.amazonaws.batch#NetworkInterfaceList": { @@ -3340,7 +5892,7 @@ "nodeIndex": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The node index for the node. Node index numbering begins at zero. This index is also available on the node with\n the AWS_BATCH_JOB_NODE_INDEX environment variable.

" + "smithy.api#documentation": "

The node index for the node. Node index numbering starts at zero. This index is also available on the node with\n the AWS_BATCH_JOB_NODE_INDEX environment variable.

" } }, "isMainNode": { @@ -3351,7 +5903,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the details of a multi-node parallel job node.

" + "smithy.api#documentation": "

An object that represents the details of a multi-node parallel job node.

" } }, "com.amazonaws.batch#NodeOverrides": { @@ -3360,7 +5912,7 @@ "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are\n specified in the job definition. To use this override:

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

The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are\n specified in the job definition. To use this override, you must meet the following conditions:

\n " } }, "nodePropertyOverrides": { @@ -3371,7 +5923,7 @@ } }, "traits": { - "smithy.api#documentation": "

Object representing any node overrides to a job definition that's used in a SubmitJob API\n operation.

\n \n

This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use\n containerOverrides instead.

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

An object that represents any node overrides to a job definition that's used in a SubmitJob\n API operation.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these\n jobs. Rather, use containerOverrides instead.

\n
" } }, "com.amazonaws.batch#NodeProperties": { @@ -3380,7 +5932,7 @@ "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The number of nodes associated with a multi-node parallel job.

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

The number of nodes that are associated with a multi-node parallel job.

", "smithy.api#required": {} } }, @@ -3394,13 +5946,13 @@ "nodeRangeProperties": { "target": "com.amazonaws.batch#NodeRangeProperties", "traits": { - "smithy.api#documentation": "

A list of node ranges and their properties associated with a multi-node parallel job.

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

A list of node ranges and their properties that are associated with a multi-node parallel job.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

An object representing the node properties of a multi-node parallel job.

" + "smithy.api#documentation": "

An object that represents the node properties of a multi-node parallel job.

\n \n

Node properties can't be specified for Amazon EKS based job definitions.

\n
" } }, "com.amazonaws.batch#NodePropertiesSummary": { @@ -3415,7 +5967,7 @@ "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The number of nodes associated with a multi-node parallel job.

" + "smithy.api#documentation": "

The number of nodes that are associated with a multi-node parallel job.

" } }, "nodeIndex": { @@ -3426,7 +5978,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the properties of a node that's associated with a multi-node parallel job.

" + "smithy.api#documentation": "

An object that represents the properties of a node that's associated with a multi-node parallel job.

" } }, "com.amazonaws.batch#NodePropertyOverride": { @@ -3435,19 +5987,19 @@ "targetNodes": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The range of nodes, using node index values, that's used to override. A range of 0:3 indicates\n nodes with index values of 0 through 3. If the starting range value is omitted\n (:n), then 0 is used to start the range. If the ending range value is omitted\n (n:), then the highest possible node index is used to end the range.

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

The range of nodes, using node index values, that's used to override. A range of 0:3 indicates\n nodes with index values of 0 through 3. If the starting range value is omitted\n (:n), then 0 is used to start the range. If the ending range value is omitted\n (n:), then the highest possible node index is used to end the range.

", "smithy.api#required": {} } }, "containerOverrides": { "target": "com.amazonaws.batch#ContainerOverrides", "traits": { - "smithy.api#documentation": "

The overrides that should be sent to a node range.

" + "smithy.api#documentation": "

The overrides that are sent to a node range.

" } } }, "traits": { - "smithy.api#documentation": "

Object representing any node overrides to a job definition that's used in a SubmitJob API\n operation.

" + "smithy.api#documentation": "

The object that represents any node overrides to a job definition that's used in a SubmitJob\n API operation.

" } }, "com.amazonaws.batch#NodePropertyOverrides": { @@ -3468,7 +6020,7 @@ "targetNodes": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of\n 0 through 3. If the starting range value is omitted (:n), then 0\n is used to start the range. If the ending range value is omitted (n:), then the highest possible node\n index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can\n nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range\n properties override the 0:10 properties.

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

The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of\n 0 through 3. If the starting range value is omitted (:n), then 0\n is used to start the range. If the ending range value is omitted (n:), then the highest possible node\n index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can\n nest node ranges (for example, 0:10 and 4:5). In this case, the 4:5 range\n properties override the 0:10 properties.

", "smithy.api#required": {} } }, @@ -3480,7 +6032,24 @@ } }, "traits": { - "smithy.api#documentation": "

An object representing the properties of the node range for a multi-node parallel job.

" + "smithy.api#documentation": "

An object that represents the properties of the node range for a multi-node parallel job.

" + } + }, + "com.amazonaws.batch#OrchestrationType": { + "type": "enum", + "members": { + "ECS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECS" + } + }, + "EKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EKS" + } + } } }, "com.amazonaws.batch#ParametersMap": { @@ -3493,18 +6062,20 @@ } }, "com.amazonaws.batch#PlatformCapability": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EC2", - "name": "EC2" - }, - { - "value": "FARGATE", - "name": "FARGATE" + "type": "enum", + "members": { + "EC2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2" } - ] + }, + "FARGATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FARGATE" + } + } } }, "com.amazonaws.batch#PlatformCapabilityList": { @@ -3513,6 +6084,15 @@ "target": "com.amazonaws.batch#PlatformCapability" } }, + "com.amazonaws.batch#Quantity": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, "com.amazonaws.batch#RegisterJobDefinition": { "type": "operation", "input": { @@ -3564,19 +6144,19 @@ "schedulingPriority": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The scheduling priority for jobs that are submitted with this job definition. This will only affect jobs in job\n queues with a fair share policy. Jobs with a higher scheduling priority will be scheduled before jobs with a lower\n scheduling priority.

\n

The minimum supported value is 0 and the maximum supported value is 9999.

" + "smithy.api#documentation": "

The scheduling priority for jobs that are submitted with this job definition. This only affects jobs in job\n queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower\n scheduling priority.

\n

The minimum supported value is 0 and the maximum supported value is 9999.

" } }, "containerProperties": { "target": "com.amazonaws.batch#ContainerProperties", "traits": { - "smithy.api#documentation": "

An object with various properties specific to single-node container-based jobs. If the job definition's\n type parameter is container, then you must specify either containerProperties\n or nodeProperties.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use only\n containerProperties.

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

An object with various properties specific to Amazon ECS based single-node container-based jobs. If the job\n definition's type parameter is container, then you must specify either\n containerProperties or nodeProperties. This must not be specified for Amazon EKS based job\n definitions.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use only\n containerProperties.

\n
" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodeProperties", "traits": { - "smithy.api#documentation": "

An object with various properties specific to multi-node parallel jobs. If you specify node properties for a\n job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the\n Batch User Guide. If the job definition's type parameter is\n container, then you must specify either containerProperties or\n nodeProperties.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use\n containerProperties instead.

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

An object with various properties specific to multi-node parallel jobs. If you specify node properties for a\n job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the\n Batch User Guide. If the job definition's type parameter is container,\n then you must specify either containerProperties or nodeProperties.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use\n containerProperties instead.

\n
\n \n

If the job runs on Amazon EKS resources, then you must not specify nodeProperties.

\n
" } }, "retryStrategy": { @@ -3588,7 +6168,7 @@ "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

" + "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

\n \n

If the job runs on Amazon EKS resources, then you must not specify propagateTags.

\n
" } }, "timeout": { @@ -3606,7 +6186,13 @@ "platformCapabilities": { "target": "com.amazonaws.batch#PlatformCapabilityList", "traits": { - "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. To run the job on Fargate resources, specify FARGATE.

" + "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. To run the job on Fargate resources, specify FARGATE.

\n \n

If the job runs on Amazon EKS resources, then you must not specify platformCapabilities.

\n
" + } + }, + "eksProperties": { + "target": "com.amazonaws.batch#EksProperties", + "traits": { + "smithy.api#documentation": "

An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS\n based job definitions.

" } } }, @@ -3646,20 +6232,20 @@ "value": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The quantity of the specified resource to reserve for the container. The values vary based on the\n type specified.

\n
\n
type=\"GPU\"
\n
\n

The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a\n job shouldn't exceed the number of available GPUs on the compute resource that the job is launched on.

\n \n

GPUs are not available for jobs that are running on Fargate resources.

\n
\n
\n
type=\"MEMORY\"
\n
\n

The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are\n running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated.\n This parameter maps to Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker run.\n You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for\n multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to\n Memory in the Create a container section of the Docker Remote API and the\n --memory option to docker run.

\n \n

If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for\n a particular instance type, see Memory\n management in the Batch User Guide.

\n
\n

For jobs that are running on Fargate resources, then value is the hard limit (in MiB), and\n must match one of the supported values and the VCPU values must be one of the values supported for\n that memory value.

\n
\n
value = 512
\n
\n

\n VCPU = 0.25

\n
\n
value = 1024
\n
\n

\n VCPU = 0.25 or 0.5

\n
\n
value = 2048
\n
\n

\n VCPU = 0.25, 0.5, or 1

\n
\n
value = 3072
\n
\n

\n VCPU = 0.5, or 1

\n
\n
value = 4096
\n
\n

\n VCPU = 0.5, 1, or 2

\n
\n
value = 5120, 6144, or 7168
\n
\n

\n VCPU = 1 or 2

\n
\n
value = 8192
\n
\n

\n VCPU = 1, 2, or 4

\n
\n
value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
\n
\n

\n VCPU = 2 or 4

\n
\n
value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
\n
\n

\n VCPU = 4

\n
\n
\n
\n
type=\"VCPU\"
\n
\n

The number of vCPUs reserved for the container. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2\n resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be\n specified for each node at least once.

\n

For jobs that are running on Fargate resources, then value must match one of the supported\n values and the MEMORY values must be one of the values supported for that VCPU value.\n The supported values are 0.25, 0.5, 1, 2, and 4

\n
\n
value = 0.25
\n
\n

\n MEMORY = 512, 1024, or 2048

\n
\n
value = 0.5
\n
\n

\n MEMORY = 1024, 2048, 3072, or 4096

\n
\n
value = 1
\n
\n

\n MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192

\n
\n
value = 2
\n
\n

\n MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384

\n
\n
value = 4
\n
\n

\n MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456,\n 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720

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

The quantity of the specified resource to reserve for the container. The values vary based on the\n type specified.

\n
\n
type=\"GPU\"
\n
\n

The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all\n containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched\n on.

\n \n

GPUs aren't available for jobs that are running on Fargate resources.

\n
\n
\n
type=\"MEMORY\"
\n
\n

The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are\n running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated.\n This parameter maps to Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker run.\n You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for\n multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to\n Memory in the Create a container section of the Docker Remote API and the\n --memory option to docker run.

\n \n

If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for\n a particular instance type, see Memory\n management in the Batch User Guide.

\n
\n

For jobs that are running on Fargate resources, then value is the hard limit (in MiB), and\n must match one of the supported values and the VCPU values must be one of the values supported for\n that memory value.

\n
\n
value = 512
\n
\n

\n VCPU = 0.25

\n
\n
value = 1024
\n
\n

\n VCPU = 0.25 or 0.5

\n
\n
value = 2048
\n
\n

\n VCPU = 0.25, 0.5, or 1

\n
\n
value = 3072
\n
\n

\n VCPU = 0.5, or 1

\n
\n
value = 4096
\n
\n

\n VCPU = 0.5, 1, or 2

\n
\n
value = 5120, 6144, or 7168
\n
\n

\n VCPU = 1 or 2

\n
\n
value = 8192
\n
\n

\n VCPU = 1, 2, or 4

\n
\n
value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
\n
\n

\n VCPU = 2 or 4

\n
\n
value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
\n
\n

\n VCPU = 4

\n
\n
\n
\n
type=\"VCPU\"
\n
\n

The number of vCPUs reserved for the container. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2\n resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be\n specified for each node at least once.

\n

For jobs that are running on Fargate resources, then value must match one of the supported\n values and the MEMORY values must be one of the values supported for that VCPU value.\n The supported values are 0.25, 0.5, 1, 2, and 4

\n
\n
value = 0.25
\n
\n

\n MEMORY = 512, 1024, or 2048

\n
\n
value = 0.5
\n
\n

\n MEMORY = 1024, 2048, 3072, or 4096

\n
\n
value = 1
\n
\n

\n MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192

\n
\n
value = 2
\n
\n

\n MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384

\n
\n
value = 4
\n
\n

\n MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456,\n 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720

\n
\n
\n
\n
", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.batch#ResourceType", "traits": { - "smithy.api#documentation": "

The type of resource to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

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

The type of resource to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The type and amount of a resource to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" + "smithy.api#documentation": "

The type and amount of a resource to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" } }, "com.amazonaws.batch#ResourceRequirements": { @@ -3669,37 +6255,43 @@ } }, "com.amazonaws.batch#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GPU", - "name": "GPU" - }, - { - "value": "VCPU", - "name": "VCPU" - }, - { - "value": "MEMORY", - "name": "MEMORY" + "type": "enum", + "members": { + "GPU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPU" + } + }, + "VCPU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VCPU" } - ] + }, + "MEMORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEMORY" + } + } } }, "com.amazonaws.batch#RetryAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RETRY", - "name": "RETRY" - }, - { - "value": "EXIT", - "name": "EXIT" + "type": "enum", + "members": { + "RETRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETRY" + } + }, + "EXIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXIT" } - ] + } } }, "com.amazonaws.batch#RetryStrategy": { @@ -3714,12 +6306,12 @@ "evaluateOnExit": { "target": "com.amazonaws.batch#EvaluateOnExitList", "traits": { - "smithy.api#documentation": "

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this\n parameter is specified, then the attempts parameter must also be specified.

" + "smithy.api#documentation": "

Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is\n specified, then the attempts parameter must also be specified. If none of the listed conditions match,\n then the job is retried.

" } } }, "traits": { - "smithy.api#documentation": "

The retry strategy associated with a job. For more information, see Automated job retries in the Batch User Guide.

" + "smithy.api#documentation": "

The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.

" } }, "com.amazonaws.batch#SchedulingPolicyDetail": { @@ -3735,7 +6327,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy. An example is\n arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority\n .

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

The Amazon Resource Name (ARN) of the scheduling policy. An example is\n arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority\n .

", "smithy.api#required": {} } }, @@ -3748,7 +6340,7 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of\n a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General\n Reference.

" + "smithy.api#documentation": "

The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of\n a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General\n Reference.

" } } }, @@ -3774,7 +6366,7 @@ } }, "traits": { - "smithy.api#documentation": "

An object that contains the details of a scheduling policy that's returned in a\n ListSchedulingPolicy action.

" + "smithy.api#documentation": "

An object that contains the details of a scheduling policy that's returned in a\n ListSchedulingPolicy action.

" } }, "com.amazonaws.batch#SchedulingPolicyListingDetailList": { @@ -3796,13 +6388,13 @@ "valueFrom": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the\n full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

\n \n

If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use\n either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must\n be specified.

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

The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or\n the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

\n \n

If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use\n either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN\n must be specified.

\n
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

An object representing the secret to expose to your container. Secrets can be exposed to a container in the\n following ways:

\n \n

For more information, see Specifying\n sensitive data in the Batch User Guide.

" + "smithy.api#documentation": "

An object that represents the secret to expose to your container. Secrets can be exposed to a container in the\n following ways:

\n \n

For more information, see Specifying\n sensitive data in the Batch User Guide.

" } }, "com.amazonaws.batch#SecretList": { @@ -3830,7 +6422,7 @@ "shareIdentifier": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry\n specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share\n identifiers in a fair share policy cannot overlap. For example, you can't have one that specifies a\n shareIdentifier of UserA* and another that specifies a shareIdentifier of\n UserA-1.

\n

There can be no more than 500 fair share identifiers active in a job queue.

\n

The string is limited to 255 alphanumeric characters, optionally followed by an asterisk (*).

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

A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry\n specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share\n identifiers in a fair share policy can't overlap. For example, you can't have one that specifies a\n shareIdentifier of UserA* and another that specifies a shareIdentifier of\n UserA-1.

\n

There can be no more than 500 fair share identifiers active in a job queue.

\n

The string is limited to 255 alphanumeric characters, and can be followed by an asterisk (*).

", "smithy.api#required": {} } }, @@ -3905,13 +6497,13 @@ "shareIdentifier": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The share identifier for the job. If the job queue does not have a scheduling policy, then this parameter must\n not be specified. If the job queue has a scheduling policy, then this parameter must be specified.

" + "smithy.api#documentation": "

The share identifier for the job. If the job queue doesn't have a scheduling policy, then this parameter must\n not be specified. If the job queue has a scheduling policy, then this parameter must be specified.

" } }, "schedulingPriorityOverride": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The scheduling priority for the job. This will only affect jobs in job queues with a fair share policy. Jobs\n with a higher scheduling priority will be scheduled before jobs with a lower scheduling priority. This will override\n any scheduling priority in the job definition.

\n

The minimum supported value is 0 and the maximum supported value is 9999.

" + "smithy.api#documentation": "

The scheduling priority for the job. This only affects jobs in job queues with a fair share policy. Jobs with a\n higher scheduling priority are scheduled before jobs with a lower scheduling priority. This overrides any scheduling\n priority in the job definition.

\n

The minimum supported value is 0 and the maximum supported value is 9999.

" } }, "arrayProperties": { @@ -3942,7 +6534,7 @@ "containerOverrides": { "target": "com.amazonaws.batch#ContainerOverrides", "traits": { - "smithy.api#documentation": "

A list of container overrides in the JSON format that specify the name of a container in the specified job\n definition and the overrides it receives. You can override the default command for a container, which is specified in\n the job definition or the Docker image, with a command override. You can also override\n existing environment variables on a container or add new environment variables to it with an environment\n override.

" + "smithy.api#documentation": "

An object with various properties that override the defaults for the job definition that specify the name of a\n container in the specified job definition and the overrides it should receive. You can override the default command\n for a container, which is specified in the job definition or the Docker image, with a command override.\n You can also override existing environment variables on a container or add new environment variables to it with an\n environment override.

" } }, "nodeOverrides": { @@ -3974,6 +6566,12 @@ "traits": { "smithy.api#documentation": "

The tags that you apply to the job request to help you categorize and organize your resources. Each tag consists\n of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

" } + }, + "eksPropertiesOverride": { + "target": "com.amazonaws.batch#EksPropertiesOverride", + "traits": { + "smithy.api#documentation": "

An object that can only be specified for jobs that are run on Amazon EKS resources with various properties that\n override defaults for the job definition.

" + } } }, "traits": { @@ -4043,7 +6641,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a\n resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that\n are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a\n resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that\n are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

", "smithy.api#http": { "method": "POST", "uri": "/v1/tags/{resourceArn}", @@ -4057,7 +6655,7 @@ "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4168,26 +6766,26 @@ "containerPath": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The absolute file path in the container where the tmpfs volume is mounted.

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

The absolute file path in the container where the tmpfs volume is mounted.

", "smithy.api#required": {} } }, "size": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The size (in MiB) of the tmpfs volume.

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

The size (in MiB) of the tmpfs volume.

", "smithy.api#required": {} } }, "mountOptions": { "target": "com.amazonaws.batch#StringList", "traits": { - "smithy.api#documentation": "

The list of tmpfs volume mount options.

\n

Valid values: \"defaults\" | \"ro\" | \"rw\" | \"suid\" |\n \"nosuid\" | \"dev\" | \"nodev\" | \"exec\" | \"noexec\" |\n \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" |\n \"nomand\" | \"atime\" | \"noatime\" | \"diratime\" |\n \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" |\n \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime\" | \"norelatime\" |\n \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" |\n \"gid\" | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"

" + "smithy.api#documentation": "

The list of tmpfs volume mount options.

\n

Valid values: \"defaults\" | \"ro\" | \"rw\" | \"suid\" |\n \"nosuid\" | \"dev\" | \"nodev\" | \"exec\" | \"noexec\" |\n \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" |\n \"nomand\" | \"atime\" | \"noatime\" | \"diratime\" |\n \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" |\n \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime\" | \"norelatime\" |\n \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" |\n \"gid\" | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"

" } } }, "traits": { - "smithy.api#documentation": "

The container path, mount options, and size of the tmpfs mount.

\n \n

This object isn't applicable to jobs that are running on Fargate resources.

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

The container path, mount options, and size of the tmpfs mount.

\n \n

This object isn't applicable to jobs that are running on Fargate resources.

\n
" } }, "com.amazonaws.batch#TmpfsList": { @@ -4262,7 +6860,7 @@ "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4328,7 +6926,7 @@ "unmanagedvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of vCPUs expected to be used for an unmanaged compute environment. Do not specify this\n parameter for a managed compute environment. This parameter is only used for fair share scheduling to reserve vCPU\n capacity for new share identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity\n will be reserved.

" + "smithy.api#documentation": "

The maximum number of vCPUs expected to be used for an unmanaged compute environment. Don't specify this\n parameter for a managed compute environment. This parameter is only used for fair share scheduling to reserve vCPU\n capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity\n is reserved.

" } }, "computeResources": { @@ -4360,7 +6958,7 @@ "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

" + "smithy.api#documentation": "

The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

" } }, "computeEnvironmentArn": { @@ -4415,7 +7013,7 @@ "schedulingPolicyArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can\n be replaced but not removed. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

" + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can\n be replaced but not removed. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.

" } }, "priority": { @@ -4464,12 +7062,13 @@ "jobExecutionTimeoutMinutes": { "target": "com.amazonaws.batch#JobExecutionTimeoutMinutes", "traits": { - "smithy.api#documentation": "

Specifies the job timeout, in minutes, when the compute environment infrastructure is updated. The default value\n is 30.

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

Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value\n is 30.

" } } }, "traits": { - "smithy.api#documentation": "

Specifies the infrastructure update policy for the compute environment. For more information about\n infrastructure updates, see Infrastructure updates\n in the Batch User Guide.

" + "smithy.api#documentation": "

Specifies the infrastructure update policy for the compute environment. For more information about\n infrastructure updates, see Infrastructure\n updates in the Batch User Guide.

" } }, "com.amazonaws.batch#UpdateSchedulingPolicy": { @@ -4528,24 +7127,24 @@ "host": { "target": "com.amazonaws.batch#Host", "traits": { - "smithy.api#documentation": "

The contents of the host parameter determine whether your data volume persists on the host\n container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path\n for your data volume. However, the data isn't guaranteed to persist after the containers associated with it stop\n running.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

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

The contents of the host parameter determine whether your data volume persists on the host\n container instance and where it's stored. If the host parameter is empty, then the Docker daemon assigns a host path\n for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it\n stop running.

\n \n

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be\n provided.

\n
" } }, "name": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

The name of the volume. It can be up to 255 letters long. It can contain uppercase and lowercase letters,\n numbers, hyphens (-), and underscores (_). This name is referenced in the sourceVolume\n parameter of container definition mountPoints.

" + "smithy.api#documentation": "

The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters,\n numbers, hyphens (-), and underscores (_). This name is referenced in the sourceVolume\n parameter of container definition mountPoints.

" } }, "efsVolumeConfiguration": { "target": "com.amazonaws.batch#EFSVolumeConfiguration", "traits": { - "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for job storage. Jobs that are running\n on Fargate resources must specify a platformVersion of at least 1.4.0.

" + "smithy.api#documentation": "

This parameter is specified when you're using an Amazon Elastic File System file system for job storage. Jobs that are running on\n Fargate resources must specify a platformVersion of at least 1.4.0.

" } } }, "traits": { - "smithy.api#documentation": "

A data volume used in a job's container properties.

" + "smithy.api#documentation": "

A data volume that's used in a job's container properties.

" } }, "com.amazonaws.batch#Volumes": { diff --git a/codegen/sdk-codegen/aws-models/datasync.json b/codegen/sdk-codegen/aws-models/datasync.json index 215827b4a40..b8f17531ba1 100644 --- a/codegen/sdk-codegen/aws-models/datasync.json +++ b/codegen/sdk-codegen/aws-models/datasync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -94,39 +94,42 @@ } }, "com.amazonaws.datasync#AgentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONLINE", - "name": "ONLINE" - }, - { - "value": "OFFLINE", - "name": "OFFLINE" + "type": "enum", + "members": { + "ONLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONLINE" + } + }, + "OFFLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFFLINE" } - ] + } } }, "com.amazonaws.datasync#Atime": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "BEST_EFFORT", - "name": "BEST_EFFORT" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "BEST_EFFORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BEST_EFFORT" + } + } } }, "com.amazonaws.datasync#BytesPerSecond": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1 } @@ -149,7 +152,7 @@ } ], "traits": { - "smithy.api#documentation": "

Cancels execution of a task.

\n

When you cancel a task execution, the transfer of some files is abruptly interrupted.\n The contents of files that are transferred to the destination might be incomplete or\n inconsistent with the source files. However, if you start a new task execution on the same\n task and you allow the task execution to complete, file content on the destination is complete\n and consistent. This applies to other unexpected failures that interrupt a task execution. In\n all of these cases, DataSync successfully complete the transfer when you start the next\n task execution.

" + "smithy.api#documentation": "

Stops an DataSync task execution that's in progress. The transfer of some\n files are abruptly interrupted. File contents that're transferred to the destination might be\n incomplete or inconsistent with the source files.

\n

However, if you start a new task execution using the same task and allow it to finish,\n file content on the destination will be complete and consistent. This applies to other\n unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully completes the transfer when you start the next task\n execution.

" } }, "com.amazonaws.datasync#CancelTaskExecutionRequest": { @@ -158,7 +161,7 @@ "TaskExecutionArn": { "target": "com.amazonaws.datasync#TaskExecutionArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the task execution to cancel.

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

The Amazon Resource Name (ARN) of the task execution to stop.

", "smithy.api#required": {} } } @@ -188,7 +191,7 @@ } ], "traits": { - "smithy.api#documentation": "

Activates an DataSync agent that you have deployed on your host. The activation\n process associates your agent with your account. In the activation process, you specify\n information such as the Amazon Web Services Region that you want to activate the agent in. You activate the\n agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your\n tasks are created in this Amazon Web Services Region.

\n

You can activate the agent in a VPC (virtual private cloud) or provide the agent access to\n a VPC endpoint so you can run tasks without going over the public internet.

\n

You can use an agent for more than one location. If a task uses multiple agents, all of\n them need to have status AVAILABLE for the task to run. If you use multiple agents for a\n source location, the status of all the agents must be AVAILABLE for the task to run.

\n \n\n

Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that\n ensures minimal interruption to your tasks.

\n

" + "smithy.api#documentation": "

Activates an DataSync agent that you have deployed in your storage\n environment. The activation process associates your agent with your account. In the activation\n process, you specify information such as the Amazon Web Services Region that you want to\n activate the agent in. You activate the agent in the Amazon Web Services Region where your\n target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this Amazon Web Services Region.

\n

You can activate the agent in a VPC (virtual private cloud) or provide the agent access to\n a VPC endpoint so you can run tasks without going over the public internet.

\n

You can use an agent for more than one location. If a task uses multiple agents, all of\n them need to have status AVAILABLE for the task to run. If you use multiple agents for a\n source location, the status of all the agents must be AVAILABLE for the task to run.

\n \n\n

Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that\n ensures minimal interruption to your tasks.

" } }, "com.amazonaws.datasync#CreateAgentRequest": { @@ -483,7 +486,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an endpoint for an Amazon FSx for OpenZFS file system.

" + "smithy.api#documentation": "

Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync\n can access for a transfer. For more information, see Creating a location for FSx for OpenZFS.

\n \n

Request parameters related to SMB aren't supported with the\n CreateLocationFsxOpenZfs operation.

\n
" } }, "com.amazonaws.datasync#CreateLocationFsxOpenZfsRequest": { @@ -888,6 +891,12 @@ "traits": { "smithy.api#documentation": "

Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.

" } + }, + "ServerCertificate": { + "target": "com.amazonaws.datasync#ObjectStorageCertificate", + "traits": { + "smithy.api#documentation": "

Specifies a certificate to authenticate with an object storage system that uses a private\n or self-signed certificate authority (CA). You must specify a Base64-encoded .pem\n file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).

\n

To use this parameter, configure ServerProtocol to HTTPS.

" + } } }, "traits": { @@ -925,7 +934,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an endpoint for an Amazon S3 bucket.

\n\n \n

For\n more information, see\n Create an Amazon S3 location\n in the DataSync User Guide.

" + "smithy.api#documentation": "

Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.

\n\n \n

For\n more information, see\n Create an Amazon S3 location\n in the DataSync User Guide.

" } }, "com.amazonaws.datasync#CreateLocationS3Request": { @@ -1481,7 +1490,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns metadata about an Amazon FSx for Lustre\n location, such as information about its path.

" + "smithy.api#documentation": "

Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.

" } }, "com.amazonaws.datasync#DescribeLocationFsxLustreRequest": { @@ -1542,7 +1551,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.

" + "smithy.api#documentation": "

Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.

\n \n

If your location uses SMB, the DescribeLocationFsxOntap operation doesn't\n actually return a Password.

\n
" } }, "com.amazonaws.datasync#DescribeLocationFsxOntapRequest": { @@ -1618,7 +1627,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns metadata about an Amazon FSx for OpenZFS\n location, such as information about its path.

" + "smithy.api#documentation": "

Provides details about how an DataSync location for an Amazon FSx for OpenZFS file system is configured.

\n \n

Response elements related to SMB aren't supported with the\n DescribeLocationFsxOpenZfs operation.

\n
" } }, "com.amazonaws.datasync#DescribeLocationFsxOpenZfsRequest": { @@ -1973,7 +1982,7 @@ "AccessKey": { "target": "com.amazonaws.datasync#ObjectStorageAccessKey", "traits": { - "smithy.api#documentation": "

The access key (for example, a user name) required to authenticate with the object storage server.

" + "smithy.api#documentation": "

The access key (for example, a user name) required to authenticate with the object storage\n system.

" } }, "ServerPort": { @@ -1985,7 +1994,7 @@ "ServerProtocol": { "target": "com.amazonaws.datasync#ObjectStorageServerProtocol", "traits": { - "smithy.api#documentation": "

The protocol that your object storage server uses to communicate.

" + "smithy.api#documentation": "

The protocol that your object storage system uses to communicate.

" } }, "AgentArns": { @@ -1999,6 +2008,12 @@ "traits": { "smithy.api#documentation": "

The time that the location was created.

" } + }, + "ServerCertificate": { + "target": "com.amazonaws.datasync#ObjectStorageCertificate", + "traits": { + "smithy.api#documentation": "

The self-signed certificate that DataSync uses to securely authenticate with\n your object storage system.

" + } } }, "traits": { @@ -2242,13 +2257,13 @@ "Excludes": { "target": "com.amazonaws.datasync#FilterList", "traits": { - "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

\n

\n

" + "smithy.api#documentation": "

A list of filter rules that determines which files to exclude from a task. The list should\n contain a single filter string that consists of the patterns to exclude. The patterns are\n delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

" } }, "Includes": { "target": "com.amazonaws.datasync#FilterList", "traits": { - "smithy.api#documentation": "

A list of filter rules that determines which files to include when running a task. The\n list should contain a single filter string that consists of the patterns to include. The\n patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

\n

\n

" + "smithy.api#documentation": "

A list of filter rules that determines which files to include when running a task. The\n list should contain a single filter string that consists of the patterns to include. The\n patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"\n

" } }, "StartTime": { @@ -2260,30 +2275,35 @@ "EstimatedFilesToTransfer": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected number of files that is to be transferred over the network. This value is\n calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the\n expected number of files to be transferred. It's calculated based on comparing the\n content of the source and destination locations and finding the delta that needs to be\n transferred.

" } }, "EstimatedBytesToTransfer": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated physical number of bytes that is to be transferred over the\n network.

" } }, "FilesTransferred": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The actual number of files that was transferred over the network. This value is\n calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated\n periodically when each file is read from the source and sent over the network.

\n

If failures occur during a transfer, this value can be less than\n EstimatedFilesToTransfer. This value can also be greater than\n EstimatedFilesTransferred in some cases. This element is\n implementation-specific for some location types, so don't use it as an indicator for a correct\n file number or to monitor your task execution.

" } }, "BytesWritten": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of logical bytes written to the destination Amazon Web Services storage resource.

" } }, "BytesTransferred": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The physical number of bytes transferred over the network.

" } }, @@ -2292,6 +2312,13 @@ "traits": { "smithy.api#documentation": "

The result of the task execution.

" } + }, + "BytesCompressed": { + "target": "com.amazonaws.datasync#long", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The physical number of bytes transferred over the network after compression was applied.\n In most cases, this number is less than BytesTransferred.

" + } } }, "traits": { @@ -2426,7 +2453,6 @@ "com.amazonaws.datasync#Duration": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2507,18 +2533,20 @@ } }, "com.amazonaws.datasync#EfsInTransitEncryption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "TLS1_2", - "name": "TLS1_2" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "TLS1_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS1_2" } - ] + } } }, "com.amazonaws.datasync#EfsSubdirectory": { @@ -2542,22 +2570,26 @@ } }, "com.amazonaws.datasync#EndpointType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PUBLIC", - "name": "PUBLIC" - }, - { - "value": "PRIVATE_LINK", - "name": "PRIVATE_LINK" - }, - { - "value": "FIPS", - "name": "FIPS" + "type": "enum", + "members": { + "PUBLIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLIC" + } + }, + "PRIVATE_LINK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVATE_LINK" } - ] + }, + "FIPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIPS" + } + } } }, "com.amazonaws.datasync#FilterAttributeValue": { @@ -2603,14 +2635,16 @@ } }, "com.amazonaws.datasync#FilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SIMPLE_PATTERN", - "name": "SIMPLE_PATTERN" + "type": "enum", + "members": { + "SIMPLE_PATTERN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIMPLE_PATTERN" } - ], + } + }, + "traits": { "smithy.api#length": { "min": 0, "max": 128 @@ -2636,21 +2670,6 @@ }, "com.amazonaws.datasync#FmrsService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataSync", - "arnNamespace": "datasync", - "cloudFormationName": "DataSync", - "cloudTrailEventSource": "datasync.amazonaws.com", - "endpointPrefix": "datasync" - }, - "aws.auth#sigv4": { - "name": "datasync" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "DataSync\n\n

DataSync is a managed data transfer service that makes it simpler for you to\n automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)\n or Amazon Elastic File System (Amazon EFS).

\n

This API interface reference for DataSync contains documentation for a\n programming interface that you can use to manage DataSync.

", - "smithy.api#title": "AWS DataSync" - }, "version": "2018-11-09", "operations": [ { @@ -2785,7 +2804,1880 @@ { "target": "com.amazonaws.datasync#UpdateTaskExecution" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataSync", + "arnNamespace": "datasync", + "cloudFormationName": "DataSync", + "cloudTrailEventSource": "datasync.amazonaws.com", + "endpointPrefix": "datasync" + }, + "aws.auth#sigv4": { + "name": "datasync" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "DataSync\n\n

DataSync is a managed data transfer service that makes it simpler for you\n to automate moving data between on-premises storage and Amazon Web Services storage services. You also can use DataSync to transfer data between other cloud providers and Amazon Web Services storage services.

\n

This API interface reference includes documentation for using DataSync\n programmatically. For complete information, see the \n DataSync User\n Guide\n .

", + "smithy.api#title": "AWS DataSync", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://datasync.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "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": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-iso-east-1", + "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": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-iso-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://datasync.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "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": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-isob-east-1", + "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": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://datasync.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-isob-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } }, "com.amazonaws.datasync#FsxFilesystemArn": { "type": "string", @@ -2900,47 +4792,54 @@ } }, "com.amazonaws.datasync#Gid": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "INT_VALUE", - "name": "INT_VALUE" - }, - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "BOTH", - "name": "BOTH" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "INT_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INT_VALUE" } - ] + }, + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "BOTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOTH" + } + } } }, "com.amazonaws.datasync#HdfsAuthenticationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SIMPLE", - "name": "SIMPLE" - }, - { - "value": "KERBEROS", - "name": "KERBEROS" + "type": "enum", + "members": { + "SIMPLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIMPLE" + } + }, + "KERBEROS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KERBEROS" } - ] + } } }, "com.amazonaws.datasync#HdfsBlockSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1048576, "max": 1073741824 @@ -2948,26 +4847,32 @@ } }, "com.amazonaws.datasync#HdfsDataTransferProtection": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "AUTHENTICATION", - "name": "AUTHENTICATION" - }, - { - "value": "INTEGRITY", - "name": "INTEGRITY" - }, - { - "value": "PRIVACY", - "name": "PRIVACY" + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "AUTHENTICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTHENTICATION" } - ] + }, + "INTEGRITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGRITY" + } + }, + "PRIVACY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVACY" + } + } } }, "com.amazonaws.datasync#HdfsNameNode": { @@ -3006,7 +4911,6 @@ "com.amazonaws.datasync#HdfsReplicationFactor": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 512 @@ -3014,26 +4918,32 @@ } }, "com.amazonaws.datasync#HdfsRpcProtection": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "AUTHENTICATION", - "name": "AUTHENTICATION" - }, - { - "value": "INTEGRITY", - "name": "INTEGRITY" - }, - { - "value": "PRIVACY", - "name": "PRIVACY" + "type": "enum", + "members": { + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + }, + "AUTHENTICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTHENTICATION" + } + }, + "INTEGRITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGRITY" + } + }, + "PRIVACY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVACY" + } + } } }, "com.amazonaws.datasync#HdfsServerHostname": { @@ -3049,7 +4959,6 @@ "com.amazonaws.datasync#HdfsServerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65536 @@ -3564,22 +5473,26 @@ } }, "com.amazonaws.datasync#LocationFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LocationUri", - "name": "LocationUri" - }, - { - "value": "LocationType", - "name": "LocationType" - }, - { - "value": "CreationTime", - "name": "CreationTime" + "type": "enum", + "members": { + "LocationUri": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LocationUri" } - ] + }, + "LocationType": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LocationType" + } + }, + "CreationTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CreationTime" + } + } } }, "com.amazonaws.datasync#LocationFilters": { @@ -3635,28 +5548,31 @@ } }, "com.amazonaws.datasync#LogLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OFF", - "name": "OFF" - }, - { - "value": "BASIC", - "name": "BASIC" - }, - { - "value": "TRANSFER", - "name": "TRANSFER" + "type": "enum", + "members": { + "OFF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFF" + } + }, + "BASIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BASIC" + } + }, + "TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFER" } - ] + } } }, "com.amazonaws.datasync#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3664,18 +5580,20 @@ } }, "com.amazonaws.datasync#Mtime": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "PRESERVE", - "name": "PRESERVE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "PRESERVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESERVE" + } + } } }, "com.amazonaws.datasync#NetworkInterfaceArn": { @@ -3723,26 +5641,32 @@ } }, "com.amazonaws.datasync#NfsVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUTOMATIC", - "name": "AUTOMATIC" - }, - { - "value": "NFS3", - "name": "NFS3" - }, - { - "value": "NFS4_0", - "name": "NFS4_0" - }, - { - "value": "NFS4_1", - "name": "NFS4_1" + "type": "enum", + "members": { + "AUTOMATIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOMATIC" + } + }, + "NFS3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS3" + } + }, + "NFS4_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS4_0" + } + }, + "NFS4_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS4_1" } - ] + } } }, "com.amazonaws.datasync#ObjectStorageAccessKey": { @@ -3765,6 +5689,15 @@ "smithy.api#pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$" } }, + "com.amazonaws.datasync#ObjectStorageCertificate": { + "type": "blob", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 32768 + } + } + }, "com.amazonaws.datasync#ObjectStorageSecretKey": { "type": "string", "traits": { @@ -3779,7 +5712,6 @@ "com.amazonaws.datasync#ObjectStorageServerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65536 @@ -3787,33 +5719,37 @@ } }, "com.amazonaws.datasync#ObjectStorageServerProtocol": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HTTPS", - "name": "HTTPS" - }, - { - "value": "HTTP", - "name": "HTTP" + "type": "enum", + "members": { + "HTTPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTPS" + } + }, + "HTTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP" } - ] + } } }, "com.amazonaws.datasync#ObjectTags": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PRESERVE", - "name": "PRESERVE" - }, - { - "value": "NONE", - "name": "NONE" + "type": "enum", + "members": { + "PRESERVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESERVE" } - ] + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } } }, "com.amazonaws.datasync#OnPremConfig": { @@ -3832,50 +5768,68 @@ } }, "com.amazonaws.datasync#Operator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Equals", - "name": "EQ" - }, - { - "value": "NotEquals", - "name": "NE" - }, - { - "value": "In", - "name": "IN" - }, - { - "value": "LessThanOrEqual", - "name": "LE" - }, - { - "value": "LessThan", - "name": "LT" - }, - { - "value": "GreaterThanOrEqual", - "name": "GE" - }, - { - "value": "GreaterThan", - "name": "GT" - }, - { - "value": "Contains", - "name": "CONTAINS" - }, - { - "value": "NotContains", - "name": "NOT_CONTAINS" - }, - { - "value": "BeginsWith", - "name": "BEGINS_WITH" + "type": "enum", + "members": { + "EQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Equals" } - ] + }, + "NE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotEquals" + } + }, + "IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "In" + } + }, + "LE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LessThanOrEqual" + } + }, + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LessThan" + } + }, + "GE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreaterThanOrEqual" + } + }, + "GT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreaterThan" + } + }, + "CONTAINS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Contains" + } + }, + "NOT_CONTAINS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotContains" + } + }, + "BEGINS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BeginsWith" + } + } } }, "com.amazonaws.datasync#Options": { @@ -3989,18 +5943,20 @@ } }, "com.amazonaws.datasync#OverwriteMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALWAYS", - "name": "ALWAYS" - }, - { - "value": "NEVER", - "name": "NEVER" + "type": "enum", + "members": { + "ALWAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALWAYS" + } + }, + "NEVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEVER" } - ] + } } }, "com.amazonaws.datasync#PLSecurityGroupArnList": { @@ -4028,67 +5984,77 @@ } }, "com.amazonaws.datasync#PhaseStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "ERROR", - "name": "ERROR" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" } - ] + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } } }, "com.amazonaws.datasync#PosixPermissions": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "PRESERVE", - "name": "PRESERVE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "PRESERVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESERVE" + } + } } }, "com.amazonaws.datasync#PreserveDeletedFiles": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PRESERVE", - "name": "PRESERVE" - }, - { - "value": "REMOVE", - "name": "REMOVE" + "type": "enum", + "members": { + "PRESERVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESERVE" } - ] + }, + "REMOVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVE" + } + } } }, "com.amazonaws.datasync#PreserveDevices": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "PRESERVE", - "name": "PRESERVE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "PRESERVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESERVE" + } + } } }, "com.amazonaws.datasync#PrivateLinkConfig": { @@ -4169,38 +6135,50 @@ } }, "com.amazonaws.datasync#S3StorageClass": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "STANDARD_IA", - "name": "STANDARD_IA" - }, - { - "value": "ONEZONE_IA", - "name": "ONEZONE_IA" - }, - { - "value": "INTELLIGENT_TIERING", - "name": "INTELLIGENT_TIERING" - }, - { - "value": "GLACIER", - "name": "GLACIER" - }, - { - "value": "DEEP_ARCHIVE", - "name": "DEEP_ARCHIVE" - }, - { - "value": "OUTPOSTS", - "name": "OUTPOSTS" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + }, + "STANDARD_IA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD_IA" + } + }, + "ONEZONE_IA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONEZONE_IA" + } + }, + "INTELLIGENT_TIERING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTELLIGENT_TIERING" } - ] + }, + "GLACIER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GLACIER" + } + }, + "DEEP_ARCHIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEEP_ARCHIVE" + } + }, + "OUTPOSTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOSTS" + } + } } }, "com.amazonaws.datasync#S3Subdirectory": { @@ -4269,22 +6247,26 @@ } }, "com.amazonaws.datasync#SmbSecurityDescriptorCopyFlags": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "OWNER_DACL", - "name": "OWNER_DACL" - }, - { - "value": "OWNER_DACL_SACL", - "name": "OWNER_DACL_SACL" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "OWNER_DACL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OWNER_DACL" } - ] + }, + "OWNER_DACL_SACL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OWNER_DACL_SACL" + } + } } }, "com.amazonaws.datasync#SmbSubdirectory": { @@ -4308,22 +6290,26 @@ } }, "com.amazonaws.datasync#SmbVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AUTOMATIC", - "name": "AUTOMATIC" - }, - { - "value": "SMB2", - "name": "SMB2" - }, - { - "value": "SMB3", - "name": "SMB3" + "type": "enum", + "members": { + "AUTOMATIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOMATIC" + } + }, + "SMB2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB2" + } + }, + "SMB3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB3" } - ] + } } }, "com.amazonaws.datasync#SourceNetworkInterfaceArns": { @@ -4624,38 +6610,50 @@ } }, "com.amazonaws.datasync#TaskExecutionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "LAUNCHING", - "name": "LAUNCHING" - }, - { - "value": "PREPARING", - "name": "PREPARING" - }, - { - "value": "TRANSFERRING", - "name": "TRANSFERRING" - }, - { - "value": "VERIFYING", - "name": "VERIFYING" - }, - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "ERROR", - "name": "ERROR" + "type": "enum", + "members": { + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "LAUNCHING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAUNCHING" + } + }, + "PREPARING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREPARING" + } + }, + "TRANSFERRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFERRING" + } + }, + "VERIFYING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERIFYING" + } + }, + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" } - ] + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } } }, "com.amazonaws.datasync#TaskFilter": { @@ -4688,18 +6686,20 @@ } }, "com.amazonaws.datasync#TaskFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LocationId", - "name": "LocationId" - }, - { - "value": "CreationTime", - "name": "CreationTime" + "type": "enum", + "members": { + "LocationId": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LocationId" } - ] + }, + "CreationTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CreationTime" + } + } } }, "com.amazonaws.datasync#TaskFilters": { @@ -4741,18 +6741,20 @@ } }, "com.amazonaws.datasync#TaskQueueing": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.datasync#TaskSchedule": { @@ -4771,71 +6773,87 @@ } }, "com.amazonaws.datasync#TaskStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "UNAVAILABLE", - "name": "UNAVAILABLE" + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" } - ] + }, + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "UNAVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNAVAILABLE" + } + } } }, "com.amazonaws.datasync#Time": { "type": "timestamp" }, "com.amazonaws.datasync#TransferMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHANGED", - "name": "CHANGED" - }, - { - "value": "ALL", - "name": "ALL" + "type": "enum", + "members": { + "CHANGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHANGED" } - ] + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + } } }, "com.amazonaws.datasync#Uid": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "INT_VALUE", - "name": "INT_VALUE" - }, - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "BOTH", - "name": "BOTH" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" } - ] + }, + "INT_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INT_VALUE" + } + }, + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "BOTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOTH" + } + } } }, "com.amazonaws.datasync#UntagResource": { @@ -5102,7 +7120,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates some of the parameters of a previously created location for self-managed object\n storage server access. For information about creating a self-managed object storage location,\n see Creating a location for object storage.

" + "smithy.api#documentation": "

Updates some parameters of an existing object storage location that DataSync\n accesses for a transfer. For information about creating a self-managed object storage\n location, see Creating a location for object\n storage.

" } }, "com.amazonaws.datasync#UpdateLocationObjectStorageRequest": { @@ -5111,44 +7129,50 @@ "LocationArn": { "target": "com.amazonaws.datasync#LocationArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

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

Specifies the ARN of the object storage system location that you're updating.

", "smithy.api#required": {} } }, "ServerPort": { "target": "com.amazonaws.datasync#ObjectStorageServerPort", "traits": { - "smithy.api#documentation": "

The port that your self-managed object storage server accepts inbound network traffic on.\n The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can \n specify a custom port if your self-managed object storage server requires one.

" + "smithy.api#documentation": "

Specifies the port that your object storage server accepts inbound network traffic on (for\n example, port 443).

" } }, "ServerProtocol": { "target": "com.amazonaws.datasync#ObjectStorageServerProtocol", "traits": { - "smithy.api#documentation": "

The protocol that the object storage server uses to communicate. Valid values are\n HTTP or HTTPS.

" + "smithy.api#documentation": "

Specifies the protocol that your object storage server uses to communicate.

" } }, "Subdirectory": { "target": "com.amazonaws.datasync#S3Subdirectory", "traits": { - "smithy.api#documentation": "

The subdirectory in the self-managed object storage server that is used\n to read data from.

" + "smithy.api#documentation": "

Specifies the object prefix for your object storage server. If this is a source location,\n DataSync only copies objects with this prefix. If this is a destination location, DataSync\n writes all objects with this prefix.

" } }, "AccessKey": { "target": "com.amazonaws.datasync#ObjectStorageAccessKey", "traits": { - "smithy.api#documentation": "

Optional. The access key is used if credentials are required to access the self-managed\n object storage server. If your object storage requires a user name and password to\n authenticate, use AccessKey and SecretKey to provide the user name\n and password, respectively.

" + "smithy.api#documentation": "

Specifies the access key (for example, a user name) if credentials are required to\n authenticate with the object storage server.

" } }, "SecretKey": { "target": "com.amazonaws.datasync#ObjectStorageSecretKey", "traits": { - "smithy.api#documentation": "

Optional. The secret key is used if credentials are required to access the self-managed\n object storage server. If your object storage requires a user name and password to\n authenticate, use AccessKey and SecretKey to provide the user name\n and password, respectively.

" + "smithy.api#documentation": "

Specifies the secret key (for example, a password) if credentials are required to\n authenticate with the object storage server.

" } }, "AgentArns": { "target": "com.amazonaws.datasync#AgentArnList", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the agents associated with the \n self-managed object storage server location.

" + "smithy.api#documentation": "

Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with\n your location.

" + } + }, + "ServerCertificate": { + "target": "com.amazonaws.datasync#ObjectStorageCertificate", + "traits": { + "smithy.api#documentation": "

Specifies a certificate to authenticate with an object storage system that uses a private\n or self-signed certificate authority (CA). You must specify a Base64-encoded .pem\n file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).

\n

To use this parameter, configure ServerProtocol to HTTPS.

\n

Updating the certificate doesn't interfere with tasks that you have in progress.

" } } } @@ -5341,22 +7365,26 @@ "members": {} }, "com.amazonaws.datasync#VerifyMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "POINT_IN_TIME_CONSISTENT", - "name": "POINT_IN_TIME_CONSISTENT" - }, - { - "value": "ONLY_FILES_TRANSFERRED", - "name": "ONLY_FILES_TRANSFERRED" - }, - { - "value": "NONE", - "name": "NONE" + "type": "enum", + "members": { + "POINT_IN_TIME_CONSISTENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POINT_IN_TIME_CONSISTENT" + } + }, + "ONLY_FILES_TRANSFERRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONLY_FILES_TRANSFERRED" } - ] + }, + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + } } }, "com.amazonaws.datasync#VpcEndpointId": { @@ -5366,7 +7394,10 @@ } }, "com.amazonaws.datasync#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.datasync#string": { "type": "string" diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 2902c7ba44e..5eee34f5d9c 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -2749,6 +2749,12 @@ "traits": { "smithy.api#enumValue": "LogLoss" } + }, + "INFERENCE_LATENCY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InferenceLatency" + } } } }, @@ -23295,6 +23301,47 @@ "smithy.api#documentation": "

A structure that contains a list of recommendation jobs.

" } }, + "com.amazonaws.sagemaker#InferenceRecommendationsJobStep": { + "type": "structure", + "members": { + "StepType": { + "target": "com.amazonaws.sagemaker#RecommendationStepType", + "traits": { + "smithy.api#documentation": "

The type of the subtask.

\n

\n BENCHMARK: Evaluate the performance of your model on different instance types.

", + "smithy.api#required": {} + } + }, + "JobName": { + "target": "com.amazonaws.sagemaker#RecommendationJobName", + "traits": { + "smithy.api#documentation": "

The name of the Inference Recommender job.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.sagemaker#RecommendationJobStatus", + "traits": { + "smithy.api#documentation": "

The current status of the benchmark.

", + "smithy.api#required": {} + } + }, + "InferenceBenchmark": { + "target": "com.amazonaws.sagemaker#RecommendationJobInferenceBenchmark", + "traits": { + "smithy.api#documentation": "

The details for a specific benchmark.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A returned array object for the Steps response field in the\n ListInferenceRecommendationsJobSteps API command.

" + } + }, + "com.amazonaws.sagemaker#InferenceRecommendationsJobSteps": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#InferenceRecommendationsJobStep" + } + }, "com.amazonaws.sagemaker#InferenceRecommendationsJobs": { "type": "list", "member": { @@ -27412,6 +27459,77 @@ } } }, + "com.amazonaws.sagemaker#ListInferenceRecommendationsJobSteps": { + "type": "operation", + "input": { + "target": "com.amazonaws.sagemaker#ListInferenceRecommendationsJobStepsRequest" + }, + "output": { + "target": "com.amazonaws.sagemaker#ListInferenceRecommendationsJobStepsResponse" + }, + "traits": { + "smithy.api#documentation": "

Returns a list of the subtasks for an Inference Recommender job.

\n

The supported subtasks are benchmarks, which evaluate the performance of your model on different instance types.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Steps", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.sagemaker#ListInferenceRecommendationsJobStepsRequest": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.sagemaker#RecommendationJobName", + "traits": { + "smithy.api#documentation": "

The name for the Inference Recommender job.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.sagemaker#RecommendationJobStatus", + "traits": { + "smithy.api#documentation": "

A filter to return benchmarks of a specified status. If this field is left empty, then all benchmarks are returned.

" + } + }, + "StepType": { + "target": "com.amazonaws.sagemaker#RecommendationStepType", + "traits": { + "smithy.api#documentation": "

A filter to return details about the specified type of subtask.

\n

\n BENCHMARK: Evaluate the performance of your model on different instance types.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.sagemaker#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return.

" + } + }, + "NextToken": { + "target": "com.amazonaws.sagemaker#NextToken", + "traits": { + "smithy.api#documentation": "

A token that you can specify to return more results from the list. Specify this field if you have a token that was returned from a previous request.

" + } + } + } + }, + "com.amazonaws.sagemaker#ListInferenceRecommendationsJobStepsResponse": { + "type": "structure", + "members": { + "Steps": { + "target": "com.amazonaws.sagemaker#InferenceRecommendationsJobSteps", + "traits": { + "smithy.api#documentation": "

A list of all subtask details in Inference Recommender.

" + } + }, + "NextToken": { + "target": "com.amazonaws.sagemaker#NextToken", + "traits": { + "smithy.api#documentation": "

A token that you can specify in your next request to return more results from the list.

" + } + } + } + }, "com.amazonaws.sagemaker#ListInferenceRecommendationsJobs": { "type": "operation", "input": { @@ -38566,6 +38684,9 @@ "target": "com.amazonaws.sagemaker#ProductionVariantInstanceType" } }, + "com.amazonaws.sagemaker#RecommendationFailureReason": { + "type": "string" + }, "com.amazonaws.sagemaker#RecommendationJobArn": { "type": "string", "traits": { @@ -38649,6 +38770,32 @@ } } }, + "com.amazonaws.sagemaker#RecommendationJobInferenceBenchmark": { + "type": "structure", + "members": { + "Metrics": { + "target": "com.amazonaws.sagemaker#RecommendationMetrics" + }, + "EndpointConfiguration": { + "target": "com.amazonaws.sagemaker#EndpointOutputConfiguration" + }, + "ModelConfiguration": { + "target": "com.amazonaws.sagemaker#ModelConfiguration", + "traits": { + "smithy.api#required": {} + } + }, + "FailureReason": { + "target": "com.amazonaws.sagemaker#RecommendationFailureReason", + "traits": { + "smithy.api#documentation": "

The reason why a benchmark failed.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details for a specific benchmark from an Inference Recommender job.

" + } + }, "com.amazonaws.sagemaker#RecommendationJobInputConfig": { "type": "structure", "members": { @@ -38907,6 +39054,17 @@ "smithy.api#documentation": "

The metrics of recommendations.

" } }, + "com.amazonaws.sagemaker#RecommendationStepType": { + "type": "enum", + "members": { + "BENCHMARK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BENCHMARK" + } + } + } + }, "com.amazonaws.sagemaker#RecordWrapper": { "type": "enum", "members": { @@ -40473,6 +40631,9 @@ { "target": "com.amazonaws.sagemaker#ListInferenceRecommendationsJobs" }, + { + "target": "com.amazonaws.sagemaker#ListInferenceRecommendationsJobSteps" + }, { "target": "com.amazonaws.sagemaker#ListLabelingJobs" },