diff --git a/codegen/sdk-codegen/aws-models/application-discovery-service.json b/codegen/sdk-codegen/aws-models/application-discovery-service.json index d2bcf98ab19..4078f4511e0 100644 --- a/codegen/sdk-codegen/aws-models/application-discovery-service.json +++ b/codegen/sdk-codegen/aws-models/application-discovery-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.applicationdiscoveryservice#AWSPoseidonService_V2015_11_01": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Application Discovery Service", - "arnNamespace": "discovery", - "cloudFormationName": "ApplicationDiscoveryService", - "cloudTrailEventSource": "applicationdiscoveryservice.amazonaws.com", - "endpointPrefix": "discovery" - }, - "aws.auth#sigv4": { - "name": "discovery" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Application Discovery Service\n\n

Amazon Web Services Application Discovery Service helps you plan application migration projects. It\n automatically identifies servers, virtual machines (VMs), and network dependencies in your\n on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. \n Application Discovery Service offers three ways of performing discovery and\n collecting data about your on-premises servers:

\n\n \n\n \n\n \n\n\n

\n Recommendations\n

\n

We recommend that you use agent-based discovery for non-VMware environments, and\n whenever you want to collect information about network dependencies. You can run agent-based\n and agentless discovery simultaneously. Use agentless discovery to complete the initial\n infrastructure assessment quickly, and then install agents on select hosts to collect\n additional information.

\n\n

\n Working With This Guide\n

\n\n

This API reference provides descriptions, syntax, and usage examples for each of the\n actions and data types for Application Discovery Service. The topic for each action shows the\n API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services\n SDKs.

\n\n \n \n \n\n

This guide is intended for use with the Amazon Web Services Application\n Discovery Service User Guide.

\n\n \n

All data is handled according to the Amazon Web Services \n Privacy Policy. You can operate Application Discovery Service offline to inspect\n collected data before it is shared with the service.

\n
", - "smithy.api#title": "AWS Application Discovery Service", - "smithy.api#xmlNamespace": { - "uri": "http://ec2.amazon.com/awsposiedon/V2015_11_01/" - } - }, "version": "2015-11-01", "operations": [ { @@ -126,7 +108,738 @@ { "target": "com.amazonaws.applicationdiscoveryservice#UpdateApplication" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Application Discovery Service", + "arnNamespace": "discovery", + "cloudFormationName": "ApplicationDiscoveryService", + "cloudTrailEventSource": "applicationdiscoveryservice.amazonaws.com", + "endpointPrefix": "discovery" + }, + "aws.auth#sigv4": { + "name": "discovery" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Web Services Application Discovery Service\n

Amazon Web Services Application Discovery Service helps you plan application migration projects. It\n automatically identifies servers, virtual machines (VMs), and network dependencies in your\n on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. \n Application Discovery Service offers three ways of performing discovery and\n collecting data about your on-premises servers:

\n \n \n \n

\n Recommendations\n

\n

We recommend that you use agent-based discovery for non-VMware environments, and\n whenever you want to collect information about network dependencies. You can run agent-based\n and agentless discovery simultaneously. Use agentless discovery to complete the initial\n infrastructure assessment quickly, and then install agents on select hosts to collect\n additional information.

\n

\n Working With This Guide\n

\n

This API reference provides descriptions, syntax, and usage examples for each of the\n actions and data types for Application Discovery Service. The topic for each action shows the\n API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services\n SDKs.

\n \n \n \n

This guide is intended for use with the Amazon Web Services Application\n Discovery Service User Guide.

\n \n

All data is handled according to the Amazon Web Services \n Privacy Policy. You can operate Application Discovery Service offline to inspect\n collected data before it is shared with the service.

\n
", + "smithy.api#title": "AWS Application Discovery Service", + "smithy.api#xmlNamespace": { + "uri": "http://ec2.amazon.com/awsposiedon/V2015_11_01/" + }, + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "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" + } + ] + } + ], + "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://discovery-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://discovery-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://discovery.{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://discovery.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://discovery.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://discovery.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "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": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "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": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } + } }, "com.amazonaws.applicationdiscoveryservice#AgentConfigurationStatus": { "type": "structure", @@ -140,6 +853,7 @@ "operationSucceeded": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Information about the status of the StartDataCollection and\n StopDataCollection operations. The system has recorded the data collection\n operation. The agent/connector receives this command the next time it polls for a new command.\n

" } }, @@ -271,34 +985,44 @@ } }, "com.amazonaws.applicationdiscoveryservice#AgentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HEALTHY", - "name": "HEALTHY" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - }, - { - "value": "BLACKLISTED", - "name": "BLACKLISTED" - }, - { - "value": "SHUTDOWN", - "name": "SHUTDOWN" + "type": "enum", + "members": { + "HEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTHY" } - ] + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + }, + "BLACKLISTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLACKLISTED" + } + }, + "SHUTDOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHUTDOWN" + } + } } }, "com.amazonaws.applicationdiscoveryservice#AgentsInfo": { @@ -389,11 +1113,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#AssociateConfigurationItemsToApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException": { "type": "structure", @@ -434,7 +1164,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes one or more import tasks, each identified by their import ID. Each import task has\n a number of records that can identify servers or applications.

\n\n

Amazon Web Services Application Discovery Service has built-in matching logic that will identify when\n discovered servers match existing entries that you've previously discovered, the information\n for the already-existing discovered server is updated. When you delete an import task that\n contains records that were used to match, the information in those matched records that comes\n from the deleted records will also be deleted.

" + "smithy.api#documentation": "

Deletes one or more import tasks, each identified by their import ID. Each import task has\n a number of records that can identify servers or applications.

\n

Amazon Web Services Application Discovery Service has built-in matching logic that will identify when\n discovered servers match existing entries that you've previously discovered, the information\n for the already-existing discovered server is updated. When you delete an import task that\n contains records that were used to match, the information in those matched records that comes\n from the deleted records will also be deleted.

" } }, "com.amazonaws.applicationdiscoveryservice#BatchDeleteImportDataError": { @@ -464,22 +1194,26 @@ } }, "com.amazonaws.applicationdiscoveryservice#BatchDeleteImportDataErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOT_FOUND", - "name": "NOT_FOUND" - }, - { - "value": "INTERNAL_SERVER_ERROR", - "name": "INTERNAL_SERVER_ERROR" - }, - { - "value": "OVER_LIMIT", - "name": "OVER_LIMIT" + "type": "enum", + "members": { + "NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_FOUND" + } + }, + "INTERNAL_SERVER_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_SERVER_ERROR" + } + }, + "OVER_LIMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVER_LIMIT" } - ] + } } }, "com.amazonaws.applicationdiscoveryservice#BatchDeleteImportDataErrorDescription": { @@ -501,6 +1235,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#BatchDeleteImportDataResponse": { @@ -512,17 +1249,20 @@ "smithy.api#documentation": "

Error messages returned for each import task that you deleted as a response for this\n command.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#Boolean": { - "type": "boolean" - }, - "com.amazonaws.applicationdiscoveryservice#BoxedInteger": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.applicationdiscoveryservice#BoxedInteger": { + "type": "integer" + }, "com.amazonaws.applicationdiscoveryservice#ClientRequestToken": { "type": "string", "traits": { @@ -568,26 +1308,32 @@ } }, "com.amazonaws.applicationdiscoveryservice#ConfigurationItemType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SERVER", - "name": "SERVER" - }, - { - "value": "PROCESS", - "name": "PROCESS" - }, - { - "value": "CONNECTION", - "name": "CONNECTIONS" - }, - { - "value": "APPLICATION", - "name": "APPLICATION" + "type": "enum", + "members": { + "SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER" + } + }, + "PROCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROCESS" } - ] + }, + "CONNECTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTION" + } + }, + "APPLICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION" + } + } } }, "com.amazonaws.applicationdiscoveryservice#ConfigurationTag": { @@ -687,7 +1433,7 @@ "statusDetail": { "target": "com.amazonaws.applicationdiscoveryservice#StringMax255", "traits": { - "smithy.api#documentation": "

Contains information about any errors that have occurred. This data type can have the\n following values:

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

Contains information about any errors that have occurred. This data type can have the\n following values:

\n " } }, "s3Bucket": { @@ -738,38 +1484,50 @@ } }, "com.amazonaws.applicationdiscoveryservice#ContinuousExportStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "START_IN_PROGRESS", - "name": "START_IN_PROGRESS" - }, - { - "value": "START_FAILED", - "name": "START_FAILED" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "STOP_IN_PROGRESS", - "name": "STOP_IN_PROGRESS" - }, - { - "value": "STOP_FAILED", - "name": "STOP_FAILED" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "type": "enum", + "members": { + "START_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_IN_PROGRESS" + } + }, + "START_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_FAILED" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "STOP_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_IN_PROGRESS" } - ] + }, + "STOP_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_FAILED" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + } } }, "com.amazonaws.applicationdiscoveryservice#CreateApplication": { @@ -817,6 +1575,9 @@ "smithy.api#documentation": "

Description of the application to be created.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#CreateApplicationResponse": { @@ -828,6 +1589,9 @@ "smithy.api#documentation": "

Configuration ID of an application to be created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#CreateTags": { @@ -859,7 +1623,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates one or more tags for configuration items. Tags are metadata that help you\n categorize IT assets. This API accepts a list of multiple configuration items.

\n\n \n

Do not store sensitive information (like personal data) in tags.

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

Creates one or more tags for configuration items. Tags are metadata that help you\n categorize IT assets. This API accepts a list of multiple configuration items.

\n \n

Do not store sensitive information (like personal data) in tags.

\n
" } }, "com.amazonaws.applicationdiscoveryservice#CreateTagsRequest": { @@ -879,11 +1643,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#CreateTagsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.applicationdiscoveryservice#CustomerAgentInfo": { "type": "structure", @@ -891,6 +1661,7 @@ "activeAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of active discovery agents.

", "smithy.api#required": {} } @@ -898,6 +1669,7 @@ "healthyAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of healthy discovery agents

", "smithy.api#required": {} } @@ -905,6 +1677,7 @@ "blackListedAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of blacklisted discovery agents.

", "smithy.api#required": {} } @@ -912,6 +1685,7 @@ "shutdownAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of discovery agents with status SHUTDOWN.

", "smithy.api#required": {} } @@ -919,6 +1693,7 @@ "unhealthyAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unhealthy discovery agents.

", "smithy.api#required": {} } @@ -926,6 +1701,7 @@ "totalAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of discovery agents.

", "smithy.api#required": {} } @@ -933,6 +1709,7 @@ "unknownAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unknown discovery agents.

", "smithy.api#required": {} } @@ -948,42 +1725,49 @@ "activeAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "healthyAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "denyListedAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "shutdownAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "unhealthyAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "totalAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "unknownAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } } @@ -995,6 +1779,7 @@ "activeConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of active discovery connectors.

", "smithy.api#required": {} } @@ -1002,6 +1787,7 @@ "healthyConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of healthy discovery connectors.

", "smithy.api#required": {} } @@ -1009,6 +1795,7 @@ "blackListedConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of blacklisted discovery connectors.

", "smithy.api#required": {} } @@ -1016,6 +1803,7 @@ "shutdownConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of discovery connectors with status SHUTDOWN,

", "smithy.api#required": {} } @@ -1023,6 +1811,7 @@ "unhealthyConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unhealthy discovery connectors.

", "smithy.api#required": {} } @@ -1030,6 +1819,7 @@ "totalConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of discovery connectors.

", "smithy.api#required": {} } @@ -1037,6 +1827,7 @@ "unknownConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unknown discovery connectors.

", "smithy.api#required": {} } @@ -1052,6 +1843,7 @@ "activeMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of active Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1059,6 +1851,7 @@ "healthyMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of healthy Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1066,6 +1859,7 @@ "denyListedMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of deny-listed Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1073,6 +1867,7 @@ "shutdownMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of Migration Evaluator collectors with SHUTDOWN status.\n

", "smithy.api#required": {} } @@ -1080,6 +1875,7 @@ "unhealthyMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of unhealthy Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1087,6 +1883,7 @@ "totalMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The total number of Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1094,6 +1891,7 @@ "unknownMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of unknown Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1104,14 +1902,14 @@ } }, "com.amazonaws.applicationdiscoveryservice#DataSource": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AGENT", - "name": "AGENT" + "type": "enum", + "members": { + "AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT" } - ] + } } }, "com.amazonaws.applicationdiscoveryservice#DatabaseName": { @@ -1162,11 +1960,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DeleteApplicationsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.applicationdiscoveryservice#DeleteTags": { "type": "operation", @@ -1216,11 +2020,17 @@ "smithy.api#documentation": "

Tags that you want to delete from one or more configuration items. Specify the tags\n that you want to delete in a key-value format. For\n example:

\n

\n {\"key\": \"serverType\", \"value\": \"webServer\"}\n

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DeleteTagsResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.applicationdiscoveryservice#DescribeAgents": { "type": "operation", @@ -1269,6 +2079,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of agents/Connectors to return in a single page of output. The maximum\n value is 100.

" } }, @@ -1278,6 +2089,9 @@ "smithy.api#documentation": "

Token to retrieve the next set of results. For example, if you previously specified 100\n IDs for DescribeAgentsRequest$agentIds but set\n DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along\n with a token. Use that token in this query to get the next set of 10.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeAgentsResponse": { @@ -1295,6 +2109,9 @@ "smithy.api#documentation": "

Token to retrieve the next set of results. For example, if you specified 100 IDs for\n DescribeAgentsRequest$agentIds but set\n DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along\n with this token. Use this token in the next query to retrieve the next set of 10.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeConfigurations": { @@ -1323,7 +2140,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves attributes for a list of configuration item IDs.

\n\n \n

All of the supplied IDs must be for the same asset type from one of the\n following:

\n \n\n

Output fields are specific to the asset type specified. For example, the output for a\n server configuration item includes a list of attributes about the\n server, such as host name, operating system, number of network cards, etc.

\n

For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application\n Discovery Service User Guide.

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

Retrieves attributes for a list of configuration item IDs.

\n \n

All of the supplied IDs must be for the same asset type from one of the\n following:

\n \n

Output fields are specific to the asset type specified. For example, the output for a\n server configuration item includes a list of attributes about the\n server, such as host name, operating system, number of network cards, etc.

\n

For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application\n Discovery Service User Guide.

\n
" } }, "com.amazonaws.applicationdiscoveryservice#DescribeConfigurationsAttribute": { @@ -1351,6 +2168,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeConfigurationsResponse": { @@ -1362,6 +2182,9 @@ "smithy.api#documentation": "

A key in the response map. The value is an array of data.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeContinuousExports": { @@ -1407,7 +2230,6 @@ "com.amazonaws.applicationdiscoveryservice#DescribeContinuousExportsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1435,6 +2257,9 @@ "smithy.api#documentation": "

The token from the previous call to DescribeExportTasks.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeContinuousExportsResponse": { @@ -1452,6 +2277,9 @@ "smithy.api#documentation": "

The token from the previous call to DescribeExportTasks.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeExportConfigurations": { @@ -1499,6 +2327,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A number between 1 and 100 specifying the maximum number of continuous export\n descriptions returned.

" } }, @@ -1508,6 +2337,9 @@ "smithy.api#documentation": "

The token from the previous call to describe-export-tasks.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeExportConfigurationsResponse": { @@ -1525,6 +2357,9 @@ "smithy.api#documentation": "

The token from the previous call to describe-export-tasks.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeExportTasks": { @@ -1574,6 +2409,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of volume results returned by DescribeExportTasks in\n paginated output. When this parameter is used, DescribeExportTasks only returns\n maxResults results in a single page along with a nextToken\n response element.

" } }, @@ -1583,6 +2419,9 @@ "smithy.api#documentation": "

The nextToken value returned from a previous paginated\n DescribeExportTasks 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 null when there\n are no more results to return.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeExportTasksResponse": { @@ -1600,6 +2439,9 @@ "smithy.api#documentation": "

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

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeImportTasks": { @@ -1645,7 +2487,6 @@ "com.amazonaws.applicationdiscoveryservice#DescribeImportTasksMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1673,6 +2514,9 @@ "smithy.api#documentation": "

The token to request a specific page of results.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeImportTasksResponse": { @@ -1690,6 +2534,9 @@ "smithy.api#documentation": "

A returned array of import tasks that match any applied filters, up to the specified\n number of maximum results.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeTags": { @@ -1736,6 +2583,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return in a single page of output. The maximum value is\n 100.

" } }, @@ -1745,6 +2593,9 @@ "smithy.api#documentation": "

A token to start the list. Use this token to get the next set of results.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DescribeTagsResponse": { @@ -1762,6 +2613,9 @@ "smithy.api#documentation": "

The call returns a token. Use this token to get the next set of results.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#DisassociateConfigurationItemsFromApplication": { @@ -1810,11 +2664,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#DisassociateConfigurationItemsFromApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.applicationdiscoveryservice#ExportConfigurations": { "type": "operation", @@ -1858,21 +2718,26 @@ "smithy.api#documentation": "

A unique identifier that you can use to query the export status.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#ExportDataFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "GRAPHML", - "name": "GRAPHML" + "type": "enum", + "members": { + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + }, + "GRAPHML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRAPHML" } - ] + } } }, "com.amazonaws.applicationdiscoveryservice#ExportDataFormats": { @@ -1962,6 +2827,7 @@ "isTruncated": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the export of agent information exceeded the size limit for a single export\n and the exported data is incomplete for the requested time range. To address this, select a\n smaller time range for the export by using startDate and\n endDate.

" } }, @@ -1986,22 +2852,26 @@ "type": "timestamp" }, "com.amazonaws.applicationdiscoveryservice#ExportStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" + "type": "enum", + "members": { + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" } - ] + } } }, "com.amazonaws.applicationdiscoveryservice#ExportStatusMessage": { @@ -2108,7 +2978,10 @@ }, "com.amazonaws.applicationdiscoveryservice#GetDiscoverySummaryRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.applicationdiscoveryservice#GetDiscoverySummaryResponse": { "type": "structure", @@ -2116,24 +2989,28 @@ "servers": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of servers discovered.

" } }, "applications": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of applications discovered.

" } }, "serversMappedToApplications": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of servers mapped to applications.

" } }, "serversMappedtoTags": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of servers mapped to tags.

" } }, @@ -2158,6 +3035,9 @@ "agentlessCollectorSummary": { "target": "com.amazonaws.applicationdiscoveryservice#CustomerAgentlessCollectorInfo" } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException": { @@ -2174,54 +3054,74 @@ } }, "com.amazonaws.applicationdiscoveryservice#ImportStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORT_IN_PROGRESS", - "name": "IMPORT_IN_PROGRESS" - }, - { - "value": "IMPORT_COMPLETE", - "name": "IMPORT_COMPLETE" - }, - { - "value": "IMPORT_COMPLETE_WITH_ERRORS", - "name": "IMPORT_COMPLETE_WITH_ERRORS" - }, - { - "value": "IMPORT_FAILED", - "name": "IMPORT_FAILED" - }, - { - "value": "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED", - "name": "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" - }, - { - "value": "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED", - "name": "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" - }, - { - "value": "DELETE_IN_PROGRESS", - "name": "DELETE_IN_PROGRESS" - }, - { - "value": "DELETE_COMPLETE", - "name": "DELETE_COMPLETE" - }, - { - "value": "DELETE_FAILED", - "name": "DELETE_FAILED" - }, - { - "value": "DELETE_FAILED_LIMIT_EXCEEDED", - "name": "DELETE_FAILED_LIMIT_EXCEEDED" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" + "type": "enum", + "members": { + "IMPORT_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_IN_PROGRESS" + } + }, + "IMPORT_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_COMPLETE" + } + }, + "IMPORT_COMPLETE_WITH_ERRORS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_COMPLETE_WITH_ERRORS" + } + }, + "IMPORT_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_FAILED" + } + }, + "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" + } + }, + "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_IN_PROGRESS" + } + }, + "DELETE_COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_COMPLETE" } - ] + }, + "DELETE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_FAILED" + } + }, + "DELETE_FAILED_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_FAILED_LIMIT_EXCEEDED" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_ERROR" + } + } } }, "com.amazonaws.applicationdiscoveryservice#ImportTask": { @@ -2278,31 +3178,35 @@ "serverImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of server records in the import file that were successfully\n imported.

" } }, "serverImportFailure": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of server records in the import file that failed to be imported.

" } }, "applicationImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of application records in the import file that were successfully\n imported.

" } }, "applicationImportFailure": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of application records in the import file that failed to be\n imported.

" } }, "errorsAndFailedEntriesZip": { "target": "com.amazonaws.applicationdiscoveryservice#S3PresignedUrl", "traits": { - "smithy.api#documentation": "

A link to a compressed archive folder (in the ZIP format) that contains an error log and a\n file of failed records. You can use these two files to quickly identify records that failed,\n why they failed, and correct those records. Afterward, you can upload the corrected file to\n your Amazon S3 bucket and create another import task request.

\n\n

This field also includes authorization information so you can confirm the authenticity of\n the compressed archive before you download it.

\n\n

If some records failed to be imported we recommend that you correct the records in the\n failed entries file and then imports that failed entries file. This prevents you from having\n to correct and update the larger original file and attempt importing it again.

" + "smithy.api#documentation": "

A link to a compressed archive folder (in the ZIP format) that contains an error log and a\n file of failed records. You can use these two files to quickly identify records that failed,\n why they failed, and correct those records. Afterward, you can upload the corrected file to\n your Amazon S3 bucket and create another import task request.

\n

This field also includes authorization information so you can confirm the authenticity of\n the compressed archive before you download it.

\n

If some records failed to be imported we recommend that you correct the records in the\n failed entries file and then imports that failed entries file. This prevents you from having\n to correct and update the larger original file and attempt importing it again.

" } } }, @@ -2327,26 +3231,30 @@ } }, "traits": { - "smithy.api#documentation": "

A name-values pair of elements you can use to filter the results when querying your import\n tasks. Currently, wildcards are not supported for filters.

\n\n \n

When filtering by import status, all other filter values are ignored.

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

A name-values pair of elements you can use to filter the results when querying your import\n tasks. Currently, wildcards are not supported for filters.

\n \n

When filtering by import status, all other filter values are ignored.

\n
" } }, "com.amazonaws.applicationdiscoveryservice#ImportTaskFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORT_TASK_ID", - "name": "IMPORT_TASK_ID" - }, - { - "value": "STATUS", - "name": "STATUS" - }, - { - "value": "NAME", - "name": "NAME" + "type": "enum", + "members": { + "IMPORT_TASK_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_TASK_ID" } - ] + }, + "STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATUS" + } + }, + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + } } }, "com.amazonaws.applicationdiscoveryservice#ImportTaskFilterValue": { @@ -2354,7 +3262,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 100 + "max": 255 } } }, @@ -2391,7 +3299,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 100 + "max": 255 }, "smithy.api#pattern": "^[\\s\\S]*\\S[\\s\\S]*$" } @@ -2407,7 +3315,10 @@ } }, "com.amazonaws.applicationdiscoveryservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationdiscoveryservice#InvalidParameterException": { "type": "structure", @@ -2486,6 +3397,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return. The maximum value is 100.

" } }, @@ -2501,6 +3413,9 @@ "smithy.api#documentation": "

Certain filter criteria return output that can be sorted in ascending or descending\n order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery\n Service User Guide.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#ListConfigurationsResponse": { @@ -2518,6 +3433,9 @@ "smithy.api#documentation": "

Token to retrieve the next set of results. For example, if your call to\n ListConfigurations returned 100 items, but you set\n ListConfigurationsRequest$maxResults to 10, you received a set of 10 results\n along with this token. Use this token in the next query to retrieve the next set of\n 10.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#ListServerNeighbors": { @@ -2562,6 +3480,7 @@ "portInformationNeeded": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to indicate if port and protocol information is needed as part of the\n response.

" } }, @@ -2574,6 +3493,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of results to return in a single page of output.

" } }, @@ -2583,6 +3503,9 @@ "smithy.api#documentation": "

Token to retrieve the next set of results. For example, if you previously specified 100\n IDs for ListServerNeighborsRequest$neighborConfigurationIds but set\n ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results\n along with a token. Use that token in this query to get the next set of 10.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#ListServerNeighborsResponse": { @@ -2604,13 +3527,20 @@ "knownDependencyCount": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Count of distinct servers that are one hop away from the given server.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationdiscoveryservice#Message": { "type": "string" @@ -2647,6 +3577,7 @@ "connectionsCount": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of open network connections with the neighboring server.

", "smithy.api#required": {} } @@ -2809,7 +3740,10 @@ }, "com.amazonaws.applicationdiscoveryservice#StartContinuousExportRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.applicationdiscoveryservice#StartContinuousExportResponse": { "type": "structure", @@ -2844,6 +3778,9 @@ "smithy.api#documentation": "

A dictionary which describes how the data is stored.

\n " } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#StartDataCollectionByAgentIds": { @@ -2885,6 +3822,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#StartDataCollectionByAgentIdsResponse": { @@ -2896,6 +3836,9 @@ "smithy.api#documentation": "

Information about agents or the connector that were instructed to start collecting\n data. Information includes the agent/connector ID, a description of the operation performed,\n and whether the agent/connector configuration was updated.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#StartExportTask": { @@ -2957,6 +3900,9 @@ "smithy.api#documentation": "

The end timestamp for exported data from the single Application Discovery Agent\n selected in the filters. If no value is specified, exported data includes the most recent data\n collected by the agent.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#StartExportTaskResponse": { @@ -2968,6 +3914,9 @@ "smithy.api#documentation": "

A unique identifier used to query the status of an export request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#StartImportTask": { @@ -2999,7 +3948,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts an import task, which allows you to import details of your on-premises environment\n directly into Amazon Web Services Migration Hub without having to use the Application Discovery Service (ADS)\n tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform\n migration assessment and planning directly from your imported data, including the ability to\n group your devices as applications and track their migration status.

\n\n

To start an import request, do this:

\n\n
    \n
  1. \n

    Download the specially formatted comma separated value (CSV) import template, which\n you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.

    \n
  2. \n
  3. \n

    Fill out the template with your server and application data.

    \n
  4. \n
  5. \n

    Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL.\n Your import file must be in the CSV format.

    \n
  6. \n
  7. \n

    Use the console or the StartImportTask command with the Amazon Web Services CLI or one of\n the Amazon Web Services SDKs to import the records from your file.

    \n
  8. \n
\n\n

For more information, including step-by-step procedures, see Migration Hub\n Import in the Amazon Web Services Application Discovery Service User\n Guide.

\n\n \n

There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services\n account. For more information, see Amazon Web Services Application\n Discovery Service Limits in the Amazon Web Services Application Discovery Service User\n Guide.

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

Starts an import task, which allows you to import details of your on-premises environment\n directly into Amazon Web Services Migration Hub without having to use the Application Discovery Service (ADS)\n tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform\n migration assessment and planning directly from your imported data, including the ability to\n group your devices as applications and track their migration status.

\n

To start an import request, do this:

\n
    \n
  1. \n

    Download the specially formatted comma separated value (CSV) import template, which\n you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.

    \n
  2. \n
  3. \n

    Fill out the template with your server and application data.

    \n
  4. \n
  5. \n

    Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL.\n Your import file must be in the CSV format.

    \n
  6. \n
  7. \n

    Use the console or the StartImportTask command with the Amazon Web Services CLI or one of\n the Amazon Web Services SDKs to import the records from your file.

    \n
  8. \n
\n

For more information, including step-by-step procedures, see Migration Hub\n Import in the Amazon Web Services Application Discovery Service User\n Guide.

\n \n

There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services\n account. For more information, see Amazon Web Services Application\n Discovery Service Limits in the Amazon Web Services Application Discovery Service User\n Guide.

\n
" } }, "com.amazonaws.applicationdiscoveryservice#StartImportTaskRequest": { @@ -3008,7 +3957,7 @@ "clientRequestToken": { "target": "com.amazonaws.applicationdiscoveryservice#ClientRequestToken", "traits": { - "smithy.api#documentation": "

Optional. A unique token that you can provide to prevent the same import request from\n occurring more than once. If you don't provide a token, a token is automatically\n generated.

\n\n

Sending more than one StartImportTask request with the same client request\n token will return information about the original import task with that client request\n token.

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

Optional. A unique token that you can provide to prevent the same import request from\n occurring more than once. If you don't provide a token, a token is automatically\n generated.

\n

Sending more than one StartImportTask request with the same client request\n token will return information about the original import task with that client request\n token.

", "smithy.api#idempotencyToken": {} } }, @@ -3022,10 +3971,13 @@ "importUrl": { "target": "com.amazonaws.applicationdiscoveryservice#ImportURL", "traits": { - "smithy.api#documentation": "

The URL for your import file that you've uploaded to Amazon S3.

\n\n \n

If you're using the Amazon Web Services CLI, this URL is structured as follows:\n s3://BucketName/ImportFileName.CSV\n

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

The URL for your import file that you've uploaded to Amazon S3.

\n \n

If you're using the Amazon Web Services CLI, this URL is structured as follows:\n s3://BucketName/ImportFileName.CSV\n

\n
", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#StartImportTaskResponse": { @@ -3037,6 +3989,9 @@ "smithy.api#documentation": "

An array of information related to the import task request including status information,\n times, IDs, the Amazon S3 Object URL for the import file, and more.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#StopContinuousExport": { @@ -3087,6 +4042,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#StopContinuousExportResponse": { @@ -3104,6 +4062,9 @@ "smithy.api#documentation": "

Timestamp that represents when this continuous export was stopped.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#StopDataCollectionByAgentIds": { @@ -3145,6 +4106,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#StopDataCollectionByAgentIdsResponse": { @@ -3156,6 +4120,9 @@ "smithy.api#documentation": "

Information about the agents or connector that were instructed to stop collecting data.\n Information includes the agent/connector ID, a description of the operation performed, and\n whether the agent/connector configuration was updated.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.applicationdiscoveryservice#String": { @@ -3309,25 +4276,33 @@ "smithy.api#documentation": "

New description of the application to be updated.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.applicationdiscoveryservice#UpdateApplicationResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.applicationdiscoveryservice#orderString": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASC", - "name": "ASC" - }, - { - "value": "DESC", - "name": "DESC" + "type": "enum", + "members": { + "ASC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASC" } - ] + }, + "DESC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESC" + } + } } } } diff --git a/codegen/sdk-codegen/aws-models/clouddirectory.json b/codegen/sdk-codegen/aws-models/clouddirectory.json index 351dbafe88f..0aed23bf204 100644 --- a/codegen/sdk-codegen/aws-models/clouddirectory.json +++ b/codegen/sdk-codegen/aws-models/clouddirectory.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -119,11 +119,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#AddFacetToObjectResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#AmazonCloudDirectory_20170111": { "type": "service", @@ -341,7 +347,737 @@ }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "Amazon Cloud Directory\n

Amazon Cloud Directory is a component of the AWS Directory Service that simplifies the\n development and management of cloud-scale web, mobile, and IoT applications. This guide\n describes the Cloud Directory operations that you can call programmatically and includes\n detailed information on data types and errors. For information about Cloud Directory features, see AWS Directory\n Service and the Amazon Cloud Directory Developer Guide.

", - "smithy.api#title": "Amazon CloudDirectory" + "smithy.api#title": "Amazon CloudDirectory", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "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" + } + ] + } + ], + "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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://clouddirectory-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://clouddirectory.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://clouddirectory-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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://clouddirectory.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://clouddirectory.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://clouddirectory.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "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": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "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": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } } }, "com.amazonaws.clouddirectory#ApplySchema": { @@ -408,6 +1144,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ApplySchemaResponse": { @@ -425,6 +1164,9 @@ "smithy.api#documentation": "

The ARN that is associated with the Directory. For more information,\n see arns.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#Arn": { @@ -520,6 +1262,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#AttachObjectResponse": { @@ -531,6 +1276,9 @@ "smithy.api#documentation": "

The attached ObjectIdentifier, which is the child\n ObjectIdentifier.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#AttachPolicy": { @@ -604,11 +1352,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#AttachPolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#AttachToIndex": { "type": "operation", @@ -690,6 +1444,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#AttachToIndexResponse": { @@ -701,6 +1458,9 @@ "smithy.api#documentation": "

The ObjectIdentifier of the object that was attached to the index.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#AttachTypedLink": { @@ -791,6 +1551,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#AttachTypedLinkResponse": { @@ -802,6 +1565,9 @@ "smithy.api#documentation": "

Returns a typed link specifier as output.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#AttributeKey": { @@ -1118,6 +1884,7 @@ "IsUnique": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the attribute that is being indexed has unique values or\n not.

", "smithy.api#required": {} } @@ -2031,7 +2798,10 @@ } }, "com.amazonaws.clouddirectory#BatchOperationIndex": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.clouddirectory#BatchRead": { "type": "operation", @@ -2094,62 +2864,86 @@ } }, "com.amazonaws.clouddirectory#BatchReadExceptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ValidationException", - "name": "ValidationException" - }, - { - "value": "InvalidArnException", - "name": "InvalidArnException" - }, - { - "value": "ResourceNotFoundException", - "name": "ResourceNotFoundException" - }, - { - "value": "InvalidNextTokenException", - "name": "InvalidNextTokenException" - }, - { - "value": "AccessDeniedException", - "name": "AccessDeniedException" - }, - { - "value": "NotNodeException", - "name": "NotNodeException" - }, - { - "value": "FacetValidationException", - "name": "FacetValidationException" - }, - { - "value": "CannotListParentOfRootException", - "name": "CannotListParentOfRootException" - }, - { - "value": "NotIndexException", - "name": "NotIndexException" - }, - { - "value": "NotPolicyException", - "name": "NotPolicyException" - }, - { - "value": "DirectoryNotEnabledException", - "name": "DirectoryNotEnabledException" - }, - { - "value": "LimitExceededException", - "name": "LimitExceededException" - }, - { - "value": "InternalServiceException", - "name": "InternalServiceException" + "type": "enum", + "members": { + "ValidationException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ValidationException" + } + }, + "InvalidArnException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidArnException" + } + }, + "ResourceNotFoundException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceNotFoundException" + } + }, + "InvalidNextTokenException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidNextTokenException" + } + }, + "AccessDeniedException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccessDeniedException" + } + }, + "NotNodeException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotNodeException" + } + }, + "FacetValidationException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FacetValidationException" } - ] + }, + "CannotListParentOfRootException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CannotListParentOfRootException" + } + }, + "NotIndexException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotIndexException" + } + }, + "NotPolicyException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotPolicyException" + } + }, + "DirectoryNotEnabledException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DirectoryNotEnabledException" + } + }, + "LimitExceededException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LimitExceededException" + } + }, + "InternalServiceException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServiceException" + } + } } }, "com.amazonaws.clouddirectory#BatchReadOperation": { @@ -2301,6 +3095,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#BatchReadResponse": { @@ -2312,6 +3109,9 @@ "smithy.api#documentation": "

A list of all the responses for each batch read.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#BatchReadSuccessfulResponse": { @@ -2550,7 +3350,10 @@ "type": "structure", "members": { "Index": { - "target": "com.amazonaws.clouddirectory#BatchOperationIndex" + "target": "com.amazonaws.clouddirectory#BatchOperationIndex", + "traits": { + "smithy.api#default": 0 + } }, "Type": { "target": "com.amazonaws.clouddirectory#BatchWriteExceptionType" @@ -2565,82 +3368,116 @@ } }, "com.amazonaws.clouddirectory#BatchWriteExceptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InternalServiceException", - "name": "InternalServiceException" - }, - { - "value": "ValidationException", - "name": "ValidationException" - }, - { - "value": "InvalidArnException", - "name": "InvalidArnException" - }, - { - "value": "LinkNameAlreadyInUseException", - "name": "LinkNameAlreadyInUseException" - }, - { - "value": "StillContainsLinksException", - "name": "StillContainsLinksException" - }, - { - "value": "FacetValidationException", - "name": "FacetValidationException" - }, - { - "value": "ObjectNotDetachedException", - "name": "ObjectNotDetachedException" - }, - { - "value": "ResourceNotFoundException", - "name": "ResourceNotFoundException" - }, - { - "value": "AccessDeniedException", - "name": "AccessDeniedException" - }, - { - "value": "InvalidAttachmentException", - "name": "InvalidAttachmentException" - }, - { - "value": "NotIndexException", - "name": "NotIndexException" - }, - { - "value": "NotNodeException", - "name": "NotNodeException" - }, - { - "value": "IndexedAttributeMissingException", - "name": "IndexedAttributeMissingException" - }, - { - "value": "ObjectAlreadyDetachedException", - "name": "ObjectAlreadyDetachedException" - }, - { - "value": "NotPolicyException", - "name": "NotPolicyException" - }, - { - "value": "DirectoryNotEnabledException", - "name": "DirectoryNotEnabledException" - }, - { - "value": "LimitExceededException", - "name": "LimitExceededException" - }, - { - "value": "UnsupportedIndexTypeException", - "name": "UnsupportedIndexTypeException" + "type": "enum", + "members": { + "InternalServiceException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalServiceException" + } + }, + "ValidationException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ValidationException" + } + }, + "InvalidArnException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidArnException" + } + }, + "LinkNameAlreadyInUseException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LinkNameAlreadyInUseException" + } + }, + "StillContainsLinksException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StillContainsLinksException" + } + }, + "FacetValidationException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FacetValidationException" + } + }, + "ObjectNotDetachedException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ObjectNotDetachedException" + } + }, + "ResourceNotFoundException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceNotFoundException" + } + }, + "AccessDeniedException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccessDeniedException" + } + }, + "InvalidAttachmentException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InvalidAttachmentException" + } + }, + "NotIndexException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotIndexException" + } + }, + "NotNodeException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotNodeException" + } + }, + "IndexedAttributeMissingException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IndexedAttributeMissingException" + } + }, + "ObjectAlreadyDetachedException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ObjectAlreadyDetachedException" } - ] + }, + "NotPolicyException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotPolicyException" + } + }, + "DirectoryNotEnabledException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DirectoryNotEnabledException" + } + }, + "LimitExceededException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LimitExceededException" + } + }, + "UnsupportedIndexTypeException": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UnsupportedIndexTypeException" + } + } } }, "com.amazonaws.clouddirectory#BatchWriteOperation": { @@ -2869,6 +3706,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#BatchWriteResponse": { @@ -2880,20 +3720,23 @@ "smithy.api#documentation": "

A list of all the responses for each batch write.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#BinaryAttributeValue": { "type": "blob" }, "com.amazonaws.clouddirectory#Bool": { - "type": "boolean" - }, - "com.amazonaws.clouddirectory#BooleanAttributeValue": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.clouddirectory#BooleanAttributeValue": { + "type": "boolean" + }, "com.amazonaws.clouddirectory#CannotListParentOfRootException": { "type": "structure", "members": { @@ -2908,18 +3751,20 @@ } }, "com.amazonaws.clouddirectory#ConsistencyLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SERIALIZABLE", - "name": "SERIALIZABLE" - }, - { - "value": "EVENTUAL", - "name": "EVENTUAL" + "type": "enum", + "members": { + "SERIALIZABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERIALIZABLE" } - ] + }, + "EVENTUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENTUAL" + } + } } }, "com.amazonaws.clouddirectory#CreateDirectory": { @@ -2983,6 +3828,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#CreateDirectoryResponse": { @@ -3016,6 +3864,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#CreateFacet": { @@ -3103,11 +3954,17 @@ "smithy.api#documentation": "

There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#CreateFacetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#CreateIndex": { "type": "operation", @@ -3182,6 +4039,7 @@ "IsUnique": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the attribute that is being indexed has unique values or\n not.

", "smithy.api#required": {} } @@ -3198,6 +4056,9 @@ "smithy.api#documentation": "

The name of the link between the parent object and the index object.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#CreateIndexResponse": { @@ -3209,6 +4070,9 @@ "smithy.api#documentation": "

The ObjectIdentifier of the index created by this operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#CreateObject": { @@ -3299,6 +4163,9 @@ "smithy.api#documentation": "

The name of link that is used to attach this object to a parent.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#CreateObjectResponse": { @@ -3310,6 +4177,9 @@ "smithy.api#documentation": "

The identifier that is associated with the object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#CreateSchema": { @@ -3362,6 +4232,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#CreateSchemaResponse": { @@ -3373,6 +4246,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) that is associated with the schema. For more\n information, see arns.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#CreateTypedLinkFacet": { @@ -3442,11 +4318,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#CreateTypedLinkFacetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#Date": { "type": "timestamp" @@ -3511,6 +4393,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DeleteDirectoryResponse": { @@ -3523,6 +4408,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#DeleteFacet": { @@ -3589,11 +4477,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DeleteFacetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#DeleteObject": { "type": "operation", @@ -3659,11 +4553,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DeleteObjectResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#DeleteSchema": { "type": "operation", @@ -3719,6 +4619,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DeleteSchemaResponse": { @@ -3730,6 +4633,9 @@ "smithy.api#documentation": "

The input ARN that is returned as part of the response. For more information, see\n arns.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#DeleteTypedLinkFacet": { @@ -3793,11 +4699,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DeleteTypedLinkFacetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#DetachFromIndex": { "type": "operation", @@ -3873,6 +4785,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DetachFromIndexResponse": { @@ -3884,6 +4799,9 @@ "smithy.api#documentation": "

The ObjectIdentifier of the object that was detached from the index.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#DetachObject": { @@ -3957,6 +4875,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DetachObjectResponse": { @@ -3968,6 +4889,9 @@ "smithy.api#documentation": "

The ObjectIdentifier that was detached from the object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#DetachPolicy": { @@ -4041,17 +4965,26 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DetachPolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#DetachTypedLink": { "type": "operation", "input": { "target": "com.amazonaws.clouddirectory#DetachTypedLinkRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.clouddirectory#AccessDeniedException" @@ -4108,6 +5041,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#Directory": { @@ -4214,22 +5150,26 @@ } }, "com.amazonaws.clouddirectory#DirectoryState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "DELETED", - "name": "DELETED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.clouddirectory#DisableDirectory": { @@ -4286,6 +5226,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#DisableDirectoryResponse": { @@ -4298,6 +5241,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#EnableDirectory": { @@ -4354,6 +5300,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#EnableDirectoryResponse": { @@ -4366,6 +5315,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ExceptionMessage": { @@ -4462,6 +5414,7 @@ "IsImmutable": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the attribute is mutable or not.

" } }, @@ -4505,34 +5458,44 @@ } }, "com.amazonaws.clouddirectory#FacetAttributeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "BINARY", - "name": "BINARY" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "NUMBER", - "name": "NUMBER" - }, - { - "value": "DATETIME", - "name": "DATETIME" - }, - { - "value": "VARIANT", - "name": "VARIANT" + "type": "enum", + "members": { + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "BINARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BINARY" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" + } + }, + "NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER" + } + }, + "DATETIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATETIME" } - ] + }, + "VARIANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VARIANT" + } + } } }, "com.amazonaws.clouddirectory#FacetAttributeUpdate": { @@ -4604,18 +5567,20 @@ } }, "com.amazonaws.clouddirectory#FacetStyle": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STATIC", - "name": "STATIC" - }, - { - "value": "DYNAMIC", - "name": "DYNAMIC" + "type": "enum", + "members": { + "STATIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATIC" + } + }, + "DYNAMIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DYNAMIC" } - ] + } } }, "com.amazonaws.clouddirectory#FacetValidationException": { @@ -4681,6 +5646,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetAppliedSchemaVersionResponse": { @@ -4692,6 +5660,9 @@ "smithy.api#documentation": "

Current applied schema ARN, including the minor version in use if one was provided.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetDirectory": { @@ -4742,6 +5713,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetDirectoryResponse": { @@ -4754,6 +5728,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetFacet": { @@ -4817,6 +5794,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetFacetResponse": { @@ -4828,6 +5808,9 @@ "smithy.api#documentation": "

The Facet structure that is associated with the facet.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetLinkAttributes": { @@ -4907,6 +5890,9 @@ "smithy.api#documentation": "

The consistency level at which to retrieve the attributes on a typed link.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetLinkAttributesResponse": { @@ -4918,6 +5904,9 @@ "smithy.api#documentation": "

The attributes that are associated with the typed link.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetObjectAttributes": { @@ -5005,6 +5994,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetObjectAttributesResponse": { @@ -5016,6 +6008,9 @@ "smithy.api#documentation": "

The attributes that are associated with the object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetObjectInformation": { @@ -5086,6 +6081,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetObjectInformationResponse": { @@ -5103,6 +6101,9 @@ "smithy.api#documentation": "

The ObjectIdentifier of the specified object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetSchemaAsJson": { @@ -5156,6 +6157,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetSchemaAsJsonResponse": { @@ -5173,6 +6177,9 @@ "smithy.api#documentation": "

The JSON representation of the schema document.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#GetTypedLinkFacetInformation": { @@ -5239,6 +6246,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#GetTypedLinkFacetInformationResponse": { @@ -5250,6 +6260,9 @@ "smithy.api#documentation": "

The order of identity attributes for the facet, from most significant to least significant. The ability to filter typed\n links considers the order that the attributes are defined on the typed link facet. When\n providing ranges to typed link selection, any inexact ranges must be specified at the end. Any\n attributes that do not have a range specified are presumed to match the entire range. Filters\n are interpreted in the order of the attributes on the typed link facet, not the order in which\n they are supplied to any API calls. For more information about identity attributes, see Typed Links.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#IncompatibleSchemaException": { @@ -5575,6 +6588,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListAppliedSchemaArnsResponse": { @@ -5592,6 +6608,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListAttachedIndices": { @@ -5679,6 +6698,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListAttachedIndicesResponse": { @@ -5696,6 +6718,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListDevelopmentSchemaArns": { @@ -5761,6 +6786,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListDevelopmentSchemaArnsResponse": { @@ -5778,6 +6806,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListDirectories": { @@ -5846,6 +6877,9 @@ "smithy.api#documentation": "

The state of the directories in the list. Can be either Enabled, Disabled, or\n Deleted.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListDirectoriesResponse": { @@ -5864,6 +6898,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListFacetAttributes": { @@ -5947,6 +6984,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListFacetAttributesResponse": { @@ -5964,6 +7004,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListFacetNames": { @@ -6037,6 +7080,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListFacetNamesResponse": { @@ -6054,6 +7100,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListIncomingTypedLinks": { @@ -6153,6 +7202,9 @@ "smithy.api#documentation": "

The consistency level to execute the request at.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListIncomingTypedLinksResponse": { @@ -6170,6 +7222,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListIndex": { @@ -6272,6 +7327,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListIndexResponse": { @@ -6289,6 +7347,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListManagedSchemaArns": { @@ -6354,6 +7415,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListManagedSchemaArnsResponse": { @@ -6371,6 +7435,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListObjectAttributes": { @@ -6470,6 +7537,9 @@ "smithy.api#documentation": "

Used to filter the list of object attributes that are associated with a certain\n facet.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListObjectAttributesResponse": { @@ -6487,6 +7557,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListObjectChildren": { @@ -6580,6 +7653,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListObjectChildrenResponse": { @@ -6597,6 +7673,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListObjectParentPaths": { @@ -6680,6 +7759,9 @@ "smithy.api#documentation": "

The maximum number of items to be retrieved in a single call. This is an approximate\n number.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListObjectParentPathsResponse": { @@ -6697,6 +7779,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListObjectParents": { @@ -6793,9 +7878,13 @@ "IncludeAllLinksToEachParent": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to True, returns all ListObjectParentsResponse$ParentLinks. There could be multiple links between a parent-child pair.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListObjectParentsResponse": { @@ -6819,6 +7908,9 @@ "smithy.api#documentation": "

Returns a list of parent reference and LinkName Tuples.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListObjectPolicies": { @@ -6909,6 +8001,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListObjectPoliciesResponse": { @@ -6926,6 +8021,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListOutgoingTypedLinks": { @@ -7025,6 +8123,9 @@ "smithy.api#documentation": "

The consistency level to execute the request at.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListOutgoingTypedLinksResponse": { @@ -7042,6 +8143,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListPolicyAttachments": { @@ -7135,6 +8239,9 @@ "smithy.api#httpHeader": "x-amz-consistency-level" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListPolicyAttachmentsResponse": { @@ -7152,6 +8259,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListPublishedSchemaArns": { @@ -7223,6 +8333,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListPublishedSchemaArnsResponse": { @@ -7240,6 +8353,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListTagsForResource": { @@ -7312,6 +8428,9 @@ "smithy.api#documentation": "

The MaxResults parameter sets the maximum number of results returned in a\n single page. This is for future use and is not supported currently.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListTagsForResourceResponse": { @@ -7329,6 +8448,9 @@ "smithy.api#documentation": "

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

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListTypedLinkFacetAttributes": { @@ -7412,6 +8534,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListTypedLinkFacetAttributesResponse": { @@ -7429,6 +8554,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ListTypedLinkFacetNames": { @@ -7502,6 +8630,9 @@ "smithy.api#documentation": "

The maximum number of results to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#ListTypedLinkFacetNamesResponse": { @@ -7519,6 +8650,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#LookupPolicy": { @@ -7602,6 +8736,9 @@ "smithy.api#documentation": "

The maximum number of items to be retrieved in a single call. This is an approximate\n number.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#LookupPolicyResponse": { @@ -7619,6 +8756,9 @@ "smithy.api#documentation": "

The pagination token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#NextToken": { @@ -7669,7 +8809,6 @@ "com.amazonaws.clouddirectory#NumberResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -7832,26 +8971,32 @@ } }, "com.amazonaws.clouddirectory#ObjectType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NODE", - "name": "NODE" - }, - { - "value": "LEAF_NODE", - "name": "LEAF_NODE" - }, - { - "value": "POLICY", - "name": "POLICY" - }, - { - "value": "INDEX", - "name": "INDEX" + "type": "enum", + "members": { + "NODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NODE" + } + }, + "LEAF_NODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEAF_NODE" + } + }, + "POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POLICY" + } + }, + "INDEX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INDEX" } - ] + } } }, "com.amazonaws.clouddirectory#PathString": { @@ -8017,6 +9162,9 @@ "smithy.api#documentation": "

The new name under which the schema will be published. If this is not provided, the\n development schema is considered.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#PublishSchemaResponse": { @@ -8028,6 +9176,9 @@ "smithy.api#documentation": "

The ARN that is associated with the published schema. For more information, see arns.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#PutSchemaFromJson": { @@ -8091,6 +9242,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#PutSchemaFromJsonResponse": { @@ -8102,33 +9256,44 @@ "smithy.api#documentation": "

The ARN of the schema to update.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#RangeMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FIRST", - "name": "FIRST" - }, - { - "value": "LAST", - "name": "LAST" - }, - { - "value": "LAST_BEFORE_MISSING_VALUES", - "name": "LAST_BEFORE_MISSING_VALUES" - }, - { - "value": "INCLUSIVE", - "name": "INCLUSIVE" - }, - { - "value": "EXCLUSIVE", - "name": "EXCLUSIVE" + "type": "enum", + "members": { + "FIRST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIRST" + } + }, + "LAST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST" + } + }, + "LAST_BEFORE_MISSING_VALUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_BEFORE_MISSING_VALUES" } - ] + }, + "INCLUSIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCLUSIVE" + } + }, + "EXCLUSIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXCLUSIVE" + } + } } }, "com.amazonaws.clouddirectory#RemoveFacetFromObject": { @@ -8202,25 +9367,33 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#RemoveFacetFromObjectResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#RequiredAttributeBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REQUIRED_ALWAYS", - "name": "REQUIRED_ALWAYS" - }, - { - "value": "NOT_REQUIRED", - "name": "NOT_REQUIRED" + "type": "enum", + "members": { + "REQUIRED_ALWAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUIRED_ALWAYS" + } + }, + "NOT_REQUIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_REQUIRED" } - ] + } } }, "com.amazonaws.clouddirectory#ResourceNotFoundException": { @@ -8304,26 +9477,32 @@ "type": "string" }, "com.amazonaws.clouddirectory#RuleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BINARY_LENGTH", - "name": "BINARY_LENGTH" - }, - { - "value": "NUMBER_COMPARISON", - "name": "NUMBER_COMPARISON" - }, - { - "value": "STRING_FROM_SET", - "name": "STRING_FROM_SET" - }, - { - "value": "STRING_LENGTH", - "name": "STRING_LENGTH" + "type": "enum", + "members": { + "BINARY_LENGTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BINARY_LENGTH" + } + }, + "NUMBER_COMPARISON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER_COMPARISON" + } + }, + "STRING_FROM_SET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING_FROM_SET" + } + }, + "STRING_LENGTH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING_LENGTH" } - ] + } } }, "com.amazonaws.clouddirectory#SchemaAlreadyExistsException": { @@ -8505,11 +9684,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#TagValue": { "type": "string" @@ -8517,7 +9702,6 @@ "com.amazonaws.clouddirectory#TagsNumberResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50 } @@ -8621,6 +9805,7 @@ "IsImmutable": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the attribute is mutable or not.

" } }, @@ -8881,25 +10066,33 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#UpdateActionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATE_OR_UPDATE", - "name": "CREATE_OR_UPDATE" - }, - { - "value": "DELETE", - "name": "DELETE" + "type": "enum", + "members": { + "CREATE_OR_UPDATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_OR_UPDATE" + } + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE" } - ] + } } }, "com.amazonaws.clouddirectory#UpdateFacet": { @@ -8984,11 +10177,17 @@ "smithy.api#documentation": "

The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpdateFacetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#UpdateLinkAttributes": { "type": "operation", @@ -9061,11 +10260,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpdateLinkAttributesResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#UpdateObjectAttributes": { "type": "operation", @@ -9141,6 +10346,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpdateObjectAttributesResponse": { @@ -9152,6 +10360,9 @@ "smithy.api#documentation": "

The ObjectIdentifier of the updated object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#UpdateSchema": { @@ -9212,6 +10423,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpdateSchemaResponse": { @@ -9223,6 +10437,9 @@ "smithy.api#documentation": "

The ARN that is associated with the updated schema. For more information, see arns.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#UpdateTypedLinkFacet": { @@ -9309,11 +10526,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpdateTypedLinkFacetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.clouddirectory#UpgradeAppliedSchema": { "type": "operation", @@ -9381,9 +10604,13 @@ "DryRun": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpgradeAppliedSchemaResponse": { @@ -9401,6 +10628,9 @@ "smithy.api#documentation": "

The ARN of the directory that is returned as part of the response.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#UpgradePublishedSchema": { @@ -9476,9 +10706,13 @@ "DryRun": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.clouddirectory#UpgradePublishedSchemaResponse": { @@ -9490,6 +10724,9 @@ "smithy.api#documentation": "

The ARN of the upgraded schema that is returned as part of the response.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.clouddirectory#ValidationException": { diff --git a/codegen/sdk-codegen/aws-models/cloudformation.json b/codegen/sdk-codegen/aws-models/cloudformation.json index c22161c6ce9..2fb265d9a5f 100644 --- a/codegen/sdk-codegen/aws-models/cloudformation.json +++ b/codegen/sdk-codegen/aws-models/cloudformation.json @@ -236,6 +236,9 @@ "smithy.api#documentation": "

The major version of this extension you want to activate, if multiple major versions are\n available. The default is the latest major version. CloudFormation uses the latest\n available minor version of the major version selected.

\n

You can specify MajorVersion or VersionBump, but not\n both.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ActivateTypeOutput": { @@ -247,6 +250,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the activated extension, in this account and\n region.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#AllowedValue": { @@ -363,6 +369,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#BatchDescribeTypeConfigurationsOutput": { @@ -386,6 +395,9 @@ "smithy.api#documentation": "

A list of any of the specified extension configurations from the CloudFormation\n registry.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#BoxedInteger": { @@ -469,7 +481,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the CancelUpdateStack action.

" + "smithy.api#documentation": "

The input for the CancelUpdateStack action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#Capabilities": { @@ -1608,172 +1621,94 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cloudformation.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.cn-northwest-1.amazonaws.com.cn" + "url": "https://cloudformation.eu-south-1.amazonaws.com" } }, "params": { - "Region": "cn-northwest-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://cloudformation-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cloudformation-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false + "Region": "eu-south-1" } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://cloudformation.ap-east-1.amazonaws.com" } }, "params": { - "Region": "cn-north-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": true + "Region": "ap-east-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-isob-east-1.sc2s.sgov.gov" + "url": "https://cloudformation.sa-east-1.amazonaws.com" } }, "params": { - "Region": "us-isob-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "sa-east-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cloudformation-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-gov-east-1.amazonaws.com" + "url": "https://cloudformation.us-east-2.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-2" } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-gov-east-1.amazonaws.com" + "url": "https://cloudformation-fips.us-east-2.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-east-2" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-gov-west-1.amazonaws.com" + "url": "https://cloudformation.eu-north-1.amazonaws.com" } }, "params": { - "Region": "us-gov-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cloudformation.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-west-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://cloudformation-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true + "Region": "eu-north-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-gov-east-1.api.aws" + "url": "https://cloudformation.me-south-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1784,9 +1719,9 @@ } }, "params": { - "Region": "eu-west-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -1797,9 +1732,9 @@ } }, "params": { - "Region": "eu-west-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -1810,9 +1745,9 @@ } }, "params": { - "Region": "eu-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -1823,9 +1758,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1836,9 +1771,9 @@ } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1849,9 +1784,9 @@ } }, "params": { - "Region": "ap-northeast-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -1862,9 +1797,9 @@ } }, "params": { - "Region": "ap-northeast-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -1875,9 +1810,9 @@ } }, "params": { - "Region": "ap-northeast-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -1888,9 +1823,9 @@ } }, "params": { - "Region": "ap-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -1901,9 +1836,9 @@ } }, "params": { - "Region": "af-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -1914,9 +1849,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -1927,9 +1862,9 @@ } }, "params": { - "Region": "us-west-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -1940,9 +1875,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -1953,9 +1888,9 @@ } }, "params": { - "Region": "us-west-1", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -1966,9 +1901,9 @@ } }, "params": { - "Region": "ca-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -1979,9 +1914,9 @@ } }, "params": { - "Region": "ap-southeast-3", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1992,9 +1927,9 @@ } }, "params": { - "Region": "ap-southeast-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -2005,9 +1940,9 @@ } }, "params": { - "Region": "ap-southeast-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -2018,165 +1953,243 @@ } }, "params": { - "Region": "eu-central-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "eu-central-1" } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cloudformation.eu-south-1.amazonaws.com" + "url": "https://cloudformation-fips.us-east-1.api.aws" } }, "params": { - "Region": "eu-south-1", - "UseFIPS": false, - "UseDualStack": false + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cloudformation.ap-east-1.amazonaws.com" + "url": "https://cloudformation.us-east-1.api.aws" } }, "params": { - "Region": "ap-east-1", + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-1" } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.sa-east-1.amazonaws.com" + "url": "https://cloudformation.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "sa-east-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-iso-east-1" } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-east-2.amazonaws.com" + "url": "https://cloudformation.us-iso-west-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-2", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-iso-west-1" } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation-fips.us-east-2.amazonaws.com" + "url": "https://cloudformation-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-2", + "UseDualStack": false, "UseFIPS": true, - "UseDualStack": false + "Region": "us-iso-east-1" } }, { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.eu-north-1.amazonaws.com" + "url": "https://cloudformation.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "eu-north-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "cn-north-1" } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.me-south-1.amazonaws.com" + "url": "https://cloudformation.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "me-south-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "cn-northwest-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cloudformation-fips.us-east-1.api.aws" + "url": "https://cloudformation-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "us-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": true + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-east-1.api.aws" + "url": "https://cloudformation-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudformation.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, "UseFIPS": false, - "UseDualStack": true + "Region": "cn-north-1" } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-iso-west-1.c2s.ic.gov" + "url": "https://cloudformation.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-iso-west-1", + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation.us-iso-east-1.c2s.ic.gov" + "url": "https://cloudformation-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudformation.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": false + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cloudformation-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://cloudformation.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudformation.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://cloudformation.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudformation-fips.us-gov-east-1.api.aws" } }, "params": { - "Region": "us-iso-east-1", + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": false + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://cloudformation.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -2187,9 +2200,9 @@ } }, "params": { - "Region": "us-east-1", - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2199,9 +2212,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -2211,9 +2224,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "Region": "us-east-1", - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } @@ -2289,14 +2302,16 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the ContinueUpdateRollback action.

" + "smithy.api#documentation": "

The input for the ContinueUpdateRollback action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ContinueUpdateRollbackOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

The output for a ContinueUpdateRollback operation.

" + "smithy.api#documentation": "

The output for a ContinueUpdateRollback operation.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#CreateChangeSet": { @@ -2431,7 +2446,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the CreateChangeSet action.

" + "smithy.api#documentation": "

The input for the CreateChangeSet action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#CreateChangeSetOutput": { @@ -2451,7 +2467,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for the CreateChangeSet action.

" + "smithy.api#documentation": "

The output for the CreateChangeSet action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#CreateStack": { @@ -2588,7 +2605,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for CreateStack action.

" + "smithy.api#documentation": "

The input for CreateStack action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#CreateStackInstances": { @@ -2677,6 +2695,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#CreateStackInstancesOutput": { @@ -2688,6 +2709,9 @@ "smithy.api#documentation": "

The unique identifier for this stack set operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#CreateStackOutput": { @@ -2701,7 +2725,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a CreateStack action.

" + "smithy.api#documentation": "

The output for a CreateStack action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#CreateStackSet": { @@ -2822,6 +2847,9 @@ "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues\n conflicting operations.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#CreateStackSetOutput": { @@ -2833,6 +2861,9 @@ "smithy.api#documentation": "

The ID of the stack set that you're creating.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#CreatedButModifiedException": { @@ -2897,11 +2928,17 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the extension, in this account and region.

\n

Conditional: You must specify either Arn, or TypeName and\n Type.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DeactivateTypeOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cloudformation#DeleteChangeSet": { "type": "operation", @@ -2938,14 +2975,16 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the DeleteChangeSet action.

" + "smithy.api#documentation": "

The input for the DeleteChangeSet action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DeleteChangeSetOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

The output for the DeleteChangeSet action.

" + "smithy.api#documentation": "

The output for the DeleteChangeSet action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DeleteStack": { @@ -2995,7 +3034,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for DeleteStack action.

" + "smithy.api#documentation": "

The input for DeleteStack action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DeleteStackInstances": { @@ -3083,6 +3123,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DeleteStackInstancesOutput": { @@ -3094,6 +3137,9 @@ "smithy.api#documentation": "

The unique identifier for this stack set operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DeleteStackSet": { @@ -3132,11 +3178,17 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DeleteStackSetOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cloudformation#DeletionTime": { "type": "timestamp" @@ -3238,11 +3290,17 @@ "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of\n the Amazon Resource Name (ARN) assigned to the extension version when it is\n registered.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DeregisterTypeOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cloudformation#DescribeAccountLimits": { "type": "operation", @@ -3272,7 +3330,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the DescribeAccountLimits action.

" + "smithy.api#documentation": "

The input for the DescribeAccountLimits action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeAccountLimitsOutput": { @@ -3292,7 +3351,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for the DescribeAccountLimits action.

" + "smithy.api#documentation": "

The output for the DescribeAccountLimits action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeChangeSet": { @@ -3394,6 +3454,9 @@ "smithy.api#documentation": "

If specified, lists only the hooks related to the specified\n LogicalResourceId.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeChangeSetHooksOutput": { @@ -3441,6 +3504,9 @@ "smithy.api#documentation": "

The stack name.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeChangeSetInput": { @@ -3467,7 +3533,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the DescribeChangeSet action.

" + "smithy.api#documentation": "

The input for the DescribeChangeSet action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeChangeSetOutput": { @@ -3589,7 +3656,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for the DescribeChangeSet action.

" + "smithy.api#documentation": "

The output for the DescribeChangeSet action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribePublisher": { @@ -3619,6 +3687,9 @@ "smithy.api#documentation": "

The ID of the extension publisher.

\n

If you don't supply a PublisherId, and you have registered as an extension\n publisher, DescribePublisher returns information about your own publisher\n account.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribePublisherOutput": { @@ -3648,6 +3719,9 @@ "smithy.api#documentation": "

The URL to the publisher's profile with the identity provider.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackDriftDetectionStatus": { @@ -3672,6 +3746,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackDriftDetectionStatusOutput": { @@ -3723,6 +3800,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackEvents": { @@ -3759,7 +3839,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for DescribeStackEvents action.

" + "smithy.api#documentation": "

The input for DescribeStackEvents action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackEventsOutput": { @@ -3779,7 +3860,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a DescribeStackEvents action.

" + "smithy.api#documentation": "

The output for a DescribeStackEvents action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackInstance": { @@ -3832,6 +3914,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackInstanceOutput": { @@ -3843,6 +3928,9 @@ "smithy.api#documentation": "

The stack instance that matches the specified request parameters.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackResource": { @@ -3902,6 +3990,9 @@ "smithy.api#documentation": "

The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken\n value that you can assign to the NextToken request parameter to get the next\n set of results.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackResourceDriftsOutput": { @@ -3920,6 +4011,9 @@ "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call\n DescribeStackResourceDrifts again and assign that token to the request\n object's NextToken parameter. If the request returns all results,\n NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackResourceInput": { @@ -3941,7 +4035,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for DescribeStackResource action.

" + "smithy.api#documentation": "

The input for DescribeStackResource action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackResourceOutput": { @@ -3955,7 +4050,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a DescribeStackResource action.

" + "smithy.api#documentation": "

The output for a DescribeStackResource action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackResources": { @@ -3993,7 +4089,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for DescribeStackResources action.

" + "smithy.api#documentation": "

The input for DescribeStackResources action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackResourcesOutput": { @@ -4007,7 +4104,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a DescribeStackResources action.

" + "smithy.api#documentation": "

The output for a DescribeStackResources action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackSet": { @@ -4043,6 +4141,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackSetOperation": { @@ -4088,6 +4189,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStackSetOperationOutput": { @@ -4099,6 +4203,9 @@ "smithy.api#documentation": "

The specified stack set operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStackSetOutput": { @@ -4110,6 +4217,9 @@ "smithy.api#documentation": "

The specified stack set.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeStacks": { @@ -4498,7 +4608,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for DescribeStacks action.

" + "smithy.api#documentation": "

The input for DescribeStacks action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeStacksOutput": { @@ -4518,7 +4629,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a DescribeStacks action.

" + "smithy.api#documentation": "

The output for a DescribeStacks action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeType": { @@ -4581,6 +4693,9 @@ "smithy.api#documentation": "

The version number of a public third-party extension.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeTypeOutput": { @@ -4748,6 +4863,9 @@ "smithy.api#documentation": "

Whether CloudFormation automatically updates the extension in this account and\n region when a new minor version is published by the extension\n publisher. Major versions released by the publisher must be manually updated. For more\n information, see Activating public extensions for use in your account in the CloudFormation User Guide.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DescribeTypeRegistration": { @@ -4806,6 +4924,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DescribeTypeRegistrationOutput": { @@ -4835,6 +4956,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of this specific version of the extension being\n registered.

\n

For registration requests with a ProgressStatus of other than\n COMPLETE, this will be null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#Description": { @@ -4874,6 +4998,9 @@ "smithy.api#documentation": "

The logical names of any resources you want to use as filters.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DetectStackDriftOutput": { @@ -4886,6 +5013,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DetectStackResourceDrift": { @@ -4917,6 +5047,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DetectStackResourceDriftOutput": { @@ -4929,6 +5062,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DetectStackSetDrift": { @@ -4980,6 +5116,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#DetectStackSetDriftOutput": { @@ -4991,6 +5130,9 @@ "smithy.api#documentation": "

The ID of the drift detection stack set operation.

\n

You can use this operation ID with \n DescribeStackSetOperation\n to monitor the progress of the drift detection operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#DifferenceType": { @@ -5084,7 +5226,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for an EstimateTemplateCost action.

" + "smithy.api#documentation": "

The input for an EstimateTemplateCost action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#EstimateTemplateCostOutput": { @@ -5098,7 +5241,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a EstimateTemplateCost action.

" + "smithy.api#documentation": "

The output for a EstimateTemplateCost action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#EvaluationType": { @@ -5177,14 +5321,16 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the ExecuteChangeSet action.

" + "smithy.api#documentation": "

The input for the ExecuteChangeSet action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ExecuteChangeSetOutput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

The output for the ExecuteChangeSet action.

" + "smithy.api#documentation": "

The output for the ExecuteChangeSet action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ExecutionRoleName": { @@ -5326,7 +5472,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the GetStackPolicy action.

" + "smithy.api#documentation": "

The input for the GetStackPolicy action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#GetStackPolicyOutput": { @@ -5340,7 +5487,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for the GetStackPolicy action.

" + "smithy.api#documentation": "

The output for the GetStackPolicy action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#GetTemplate": { @@ -5383,7 +5531,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for a GetTemplate action.

" + "smithy.api#documentation": "

The input for a GetTemplate action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#GetTemplateOutput": { @@ -5403,7 +5552,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for GetTemplate action.

" + "smithy.api#documentation": "

The output for GetTemplate action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#GetTemplateSummary": { @@ -5458,7 +5608,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the GetTemplateSummary action.

" + "smithy.api#documentation": "

The input for the GetTemplateSummary action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#GetTemplateSummaryOutput": { @@ -5520,7 +5671,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for the GetTemplateSummary action.

" + "smithy.api#documentation": "

The output for the GetTemplateSummary action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#HandlerErrorCode": { @@ -5878,6 +6030,9 @@ "smithy.api#documentation": "

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ImportStacksToStackSetOutput": { @@ -5889,6 +6044,9 @@ "smithy.api#documentation": "

The unique identifier for the stack set operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#Imports": { @@ -6059,7 +6217,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the ListChangeSets action.

" + "smithy.api#documentation": "

The input for the ListChangeSets action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListChangeSetsOutput": { @@ -6079,7 +6238,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for the ListChangeSets action.

" + "smithy.api#documentation": "

The output for the ListChangeSets action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListExports": { @@ -6108,6 +6268,9 @@ "smithy.api#documentation": "

A string (provided by the ListExports response output) that identifies\n the next page of exported output values that you asked to retrieve.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListExportsOutput": { @@ -6125,6 +6288,9 @@ "smithy.api#documentation": "

If the output exceeds 100 exported output values, a string that identifies the next page\n of exports. If there is no additional page, this value is null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListImports": { @@ -6160,6 +6326,9 @@ "smithy.api#documentation": "

A string (provided by the ListImports response output) that identifies\n the next page of stacks that are importing the specified exported output value.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListImportsOutput": { @@ -6177,6 +6346,9 @@ "smithy.api#documentation": "

A string that identifies the next page of exports. If there is no additional page, this\n value is null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListStackInstances": { @@ -6248,6 +6420,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListStackInstancesOutput": { @@ -6265,6 +6440,9 @@ "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call ListStackInstances again\n and assign that token to the request object's NextToken parameter. If the\n request returns all results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListStackResources": { @@ -6302,7 +6480,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the ListStackResource action.

" + "smithy.api#documentation": "

The input for the ListStackResource action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListStackResourcesOutput": { @@ -6322,7 +6501,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for a ListStackResources action.

" + "smithy.api#documentation": "

The output for a ListStackResources action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListStackSetOperationResults": { @@ -6392,6 +6572,9 @@ "smithy.api#documentation": "

The filter to apply to operation results.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListStackSetOperationResultsOutput": { @@ -6409,6 +6592,9 @@ "smithy.api#documentation": "

If the request doesn't return all results, NextToken is set to a token. To\n retrieve the next set of results, call ListOperationResults again and assign\n that token to the request object's NextToken parameter. If there are no\n remaining results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListStackSetOperations": { @@ -6462,6 +6648,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListStackSetOperationsOutput": { @@ -6479,6 +6668,9 @@ "smithy.api#documentation": "

If the request doesn't return all results, NextToken is set to a token. To\n retrieve the next set of results, call ListOperationResults again and assign\n that token to the request object's NextToken parameter. If there are no\n remaining results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListStackSets": { @@ -6526,6 +6718,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the management account or as a delegated administrator in a\n member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListStackSetsOutput": { @@ -6543,6 +6738,9 @@ "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is\n set to a token. To retrieve the next set of results, call ListStackInstances\n again and assign that token to the request object's NextToken parameter. If\n the request returns all results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListStacks": { @@ -6579,7 +6777,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for ListStacks action.

" + "smithy.api#documentation": "

The input for ListStacks action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListStacksOutput": { @@ -6599,7 +6798,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for ListStacks action.

" + "smithy.api#documentation": "

The output for ListStacks action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListTypeRegistrations": { @@ -6664,6 +6864,9 @@ "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set\n of results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListTypeRegistrationsOutput": { @@ -6681,6 +6884,9 @@ "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call this action again and assign that\n token to the request object's NextToken parameter. If the request returns all\n results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListTypeVersions": { @@ -6751,6 +6957,9 @@ "smithy.api#documentation": "

The publisher ID of the extension publisher.

\n

Extensions published by Amazon aren't assigned a publisher ID.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListTypeVersionsOutput": { @@ -6768,6 +6977,9 @@ "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is\n set to a token. To retrieve the next set of results, call this action again and assign that\n token to the request object's NextToken parameter. If the request returns all\n results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ListTypes": { @@ -6839,6 +7051,9 @@ "smithy.api#documentation": "

If the previous paginated request didn't return all the remaining results, the response\n object's NextToken parameter value is set to a token. To retrieve the next set\n of results, call this action again and assign that token to the request object's\n NextToken parameter. If there are no remaining results, the previous\n response object's NextToken parameter is set to null.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ListTypesOutput": { @@ -6856,6 +7071,9 @@ "smithy.api#documentation": "

If the request doesn't return all the remaining results, NextToken is set\n to a token. To retrieve the next set of results, call this action again and assign that\n token to the request object's NextToken parameter. If the request returns all\n results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#LogGroupName": { @@ -7583,6 +7801,9 @@ "smithy.api#documentation": "

The version number to assign to this version of the extension.

\n

Use the following format, and adhere to semantic versioning when assigning a version\n number to your extension:

\n

\n MAJOR.MINOR.PATCH\n

\n

For more information, see Semantic Versioning\n 2.0.0.

\n

If you don't specify a version number, CloudFormation increments the version\n number by one minor version release.

\n

You cannot specify a version number the first time you publish a type. CloudFormation\n automatically sets the first version number to be 1.0.0.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#PublishTypeOutput": { @@ -7594,6 +7815,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) assigned to the public extension upon publication.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#PublisherId": { @@ -7714,11 +7938,17 @@ "smithy.api#documentation": "

Reserved for use by the CloudFormation CLI.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#RecordHandlerProgressOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cloudformation#Region": { "type": "string", @@ -7782,6 +8012,9 @@ "smithy.api#documentation": "

If you are using a Bitbucket or GitHub account for identity verification, the Amazon\n Resource Name (ARN) for your connection to that account.

\n

For more information, see Registering your account to publish CloudFormation\n extensions in the CloudFormation CLI User\n Guide.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#RegisterPublisherOutput": { @@ -7793,6 +8026,9 @@ "smithy.api#documentation": "

The ID assigned this account by CloudFormation for publishing\n extensions.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#RegisterType": { @@ -7854,6 +8090,9 @@ "smithy.api#documentation": "

A unique identifier that acts as an idempotency key for this registration request.\n Specifying a client request token prevents CloudFormation from generating more\n than one version of an extension from the same registration request, even if the request is\n submitted multiple times.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#RegisterTypeOutput": { @@ -7865,6 +8104,9 @@ "smithy.api#documentation": "

The identifier for this registration request.

\n

Use this registration token when calling \n DescribeTypeRegistration\n , which returns information about the status and IDs of the extension\n registration.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#RegistrationStatus": { @@ -8603,6 +8845,9 @@ "smithy.api#documentation": "

A unique identifier for this RollbackStack request.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#RollbackStackOutput": { @@ -8614,6 +8859,9 @@ "smithy.api#documentation": "

Unique identifier of the stack.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#RollbackTrigger": { @@ -8711,7 +8959,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the SetStackPolicy action.

" + "smithy.api#documentation": "

The input for the SetStackPolicy action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#SetTypeConfiguration": { @@ -8768,6 +9017,9 @@ "smithy.api#documentation": "

The type of extension.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#SetTypeConfigurationOutput": { @@ -8779,6 +9031,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the configuration data, in this account and\n region.

\n

Conditional: You must specify ConfigurationArn, or Type and\n TypeName.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#SetTypeDefaultVersion": { @@ -8829,11 +9084,17 @@ "smithy.api#documentation": "

The ID of a specific version of the extension. The version ID is the value at the end of\n the Amazon Resource Name (ARN) assigned to the extension version when it is\n registered.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#SetTypeDefaultVersionOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cloudformation#SignalResource": { "type": "operation", @@ -8880,7 +9141,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for the SignalResource action.

" + "smithy.api#documentation": "

The input for the SignalResource action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#Stack": { @@ -10144,6 +10406,9 @@ "traits": { "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues\n conflicting operations.

" } + }, + "Regions": { + "target": "com.amazonaws.cloudformation#RegionList" } }, "traits": { @@ -11090,11 +11355,17 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#StopStackSetOperationOutput": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.cloudformation#SupportedMajorVersion": { "type": "integer", @@ -11292,6 +11563,9 @@ "smithy.api#documentation": "

The S3 bucket to which CloudFormation delivers the contract test execution\n logs.

\n

CloudFormation delivers the logs by the time contract testing has completed and\n the extension has been assigned a test type status of PASSED or\n FAILED.

\n

The user calling TestType must be able to access items in the specified S3\n bucket. Specifically, the user needs the following permissions:

\n \n

For more information, see Actions, Resources, and\n Condition Keys for Amazon S3 in the Amazon Web Services\n Identity and Access Management User Guide.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#TestTypeOutput": { @@ -11303,6 +11577,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the extension.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#ThirdPartyType": { @@ -11961,7 +12238,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for an UpdateStack action.

" + "smithy.api#documentation": "

The input for an UpdateStack action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#UpdateStackInstances": { @@ -12050,6 +12328,9 @@ "smithy.api#documentation": "

[Service-managed permissions] Specifies whether you are acting as an account\n administrator in the organization's management account or as a delegated\n administrator in a member account.

\n

By default, SELF is specified. Use SELF for stack sets with\n self-managed permissions.

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#UpdateStackInstancesOutput": { @@ -12061,6 +12342,9 @@ "smithy.api#documentation": "

The unique identifier for this stack set operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#UpdateStackOutput": { @@ -12074,7 +12358,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for an UpdateStack action.

" + "smithy.api#documentation": "

The output for an UpdateStack action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#UpdateStackSet": { @@ -12228,6 +12513,9 @@ "smithy.api#documentation": "

Describes whether StackSets performs non-conflicting operations concurrently and queues\n conflicting operations.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#UpdateStackSetOutput": { @@ -12239,6 +12527,9 @@ "smithy.api#documentation": "

The unique ID for this stack set operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#UpdateTerminationProtection": { @@ -12270,6 +12561,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#UpdateTerminationProtectionOutput": { @@ -12281,6 +12575,9 @@ "smithy.api#documentation": "

The unique ID of the stack.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#Url": { @@ -12321,7 +12618,8 @@ } }, "traits": { - "smithy.api#documentation": "

The input for ValidateTemplate action.

" + "smithy.api#documentation": "

The input for ValidateTemplate action.

", + "smithy.api#input": {} } }, "com.amazonaws.cloudformation#ValidateTemplateOutput": { @@ -12359,7 +12657,8 @@ } }, "traits": { - "smithy.api#documentation": "

The output for ValidateTemplate action.

" + "smithy.api#documentation": "

The output for ValidateTemplate action.

", + "smithy.api#output": {} } }, "com.amazonaws.cloudformation#Value": { diff --git a/codegen/sdk-codegen/aws-models/dlm.json b/codegen/sdk-codegen/aws-models/dlm.json index ef912c6ed81..4b8ea63fc04 100644 --- a/codegen/sdk-codegen/aws-models/dlm.json +++ b/codegen/sdk-codegen/aws-models/dlm.json @@ -229,6 +229,9 @@ "smithy.api#documentation": "

The tags to apply to the lifecycle policy during creation.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#CreateLifecyclePolicyResponse": { @@ -240,6 +243,9 @@ "smithy.api#documentation": "

The identifier of the lifecycle policy.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dlm#CreateRule": { @@ -248,7 +254,7 @@ "Location": { "target": "com.amazonaws.dlm#LocationValues", "traits": { - "smithy.api#documentation": "

\n [Snapshot policies only] Specifies the destination for snapshots created by the policy. To create \n\t\t\tsnapshots in the same Region as the source resource, specify CLOUD. To create \n\t\t\tsnapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. \n\t\t\tIf you omit this parameter, CLOUD is used by default.

\n\t\t

If the policy targets resources in an Amazon Web Services Region, then you must create \n\t\t\tsnapshots in the same Region as the source resource. If the policy targets resources on an \n\t\t\tOutpost, then you can create snapshots on the same Outpost as the source resource, or in \n\t\t\tthe Region of that Outpost.

" + "smithy.api#documentation": "

\n [Snapshot policies only] Specifies the destination for snapshots created by the policy. To create \n\t\t\tsnapshots in the same Region as the source resource, specify CLOUD. To create \n\t\t\tsnapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL. \n\t\t\tIf you omit this parameter, CLOUD is used by default.

\n

If the policy targets resources in an Amazon Web Services Region, then you must create \n\t\t\tsnapshots in the same Region as the source resource. If the policy targets resources on an \n\t\t\tOutpost, then you can create snapshots on the same Outpost as the source resource, or in \n\t\t\tthe Region of that Outpost.

" } }, "Interval": { @@ -267,7 +273,7 @@ "Times": { "target": "com.amazonaws.dlm#TimesList", "traits": { - "smithy.api#documentation": "

The time, in UTC, to start the operation. The supported format is hh:mm.

\n\t\t

The operation occurs within a one-hour window following the specified time. If you do\n\t\t\tnot specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.

" + "smithy.api#documentation": "

The time, in UTC, to start the operation. The supported format is hh:mm.

\n

The operation occurs within a one-hour window following the specified time. If you do\n\t\t\tnot specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.

" } }, "CronExpression": { @@ -278,7 +284,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.

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

\n [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.

\n \n \n " } }, "com.amazonaws.dlm#CronExpression": { @@ -313,7 +319,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Event-based policies only] Specifies a cross-Region copy action for event-based policies.

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

To specify a cross-Region copy rule for snapshot and AMI policies, use \n\t\t\t\tCrossRegionCopyRule.

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

\n [Event-based policies only] Specifies a cross-Region copy action for event-based policies.

\n \n

To specify a cross-Region copy rule for snapshot and AMI policies, use \n\t\t\t\tCrossRegionCopyRule.

\n
" } }, "com.amazonaws.dlm#CrossRegionCopyActionList": { @@ -376,13 +382,13 @@ "TargetRegion": { "target": "com.amazonaws.dlm#TargetRegion", "traits": { - "smithy.api#documentation": "\n\t\t\t

Avoid using this parameter when creating new policies. Instead, use \n\t\t\t\tTarget to specify a target Region or a target \n\t\t\t\tOutpost for snapshot copies.

\n\t\t\t

For policies created before the Target parameter \n\t\t\t\twas introduced, this parameter indicates the target Region for snapshot copies.

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

Avoid using this parameter when creating new policies. Instead, use \n\t\t\t\tTarget to specify a target Region or a target \n\t\t\t\tOutpost for snapshot copies.

\n

For policies created before the Target parameter \n\t\t\t\twas introduced, this parameter indicates the target Region for snapshot copies.

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

The target Region or the Amazon Resource Name (ARN) of the target Outpost for the \n\t\t\tsnapshot copies.

\n\t\t

Use this parameter instead of TargetRegion. Do not \n\t\t\tspecify both.

" + "smithy.api#documentation": "

The target Region or the Amazon Resource Name (ARN) of the target Outpost for the \n\t\t\tsnapshot copies.

\n

Use this parameter instead of TargetRegion. Do not \n\t\t\tspecify both.

" } }, "Encrypted": { @@ -418,7 +424,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies a cross-Region copy rule for snapshot and AMI policies.

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

To specify a cross-Region copy action for event-based polices, use \n\t\t\t\tCrossRegionCopyAction.

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

\n [Snapshot and AMI policies only] Specifies a cross-Region copy rule for snapshot and AMI policies.

\n \n

To specify a cross-Region copy action for event-based polices, use \n\t\t\t\tCrossRegionCopyAction.

\n
" } }, "com.amazonaws.dlm#CrossRegionCopyRules": { @@ -453,7 +459,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified lifecycle policy and halts the automated operations that the\n\t\t\tpolicy specified.

\n\t\t

For more information about deleting a policy, see Delete lifecycle \n\t\t\tpolicies.

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

Deletes the specified lifecycle policy and halts the automated operations that the\n\t\t\tpolicy specified.

\n

For more information about deleting a policy, see Delete lifecycle \n\t\t\tpolicies.

", "smithy.api#http": { "method": "DELETE", "uri": "/policies/{PolicyId}", @@ -472,11 +478,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#DeleteLifecyclePolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.dlm#DeprecateRule": { "type": "structure", @@ -503,7 +515,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [AMI policies only] Specifies an AMI deprecation rule for AMIs created by an AMI lifecycle policy.

\n\t\t

For age-based schedules, you must specify Interval and \n\t\t\tIntervalUnit. For count-based schedules, you must specify \n\t\t\tCount.

" + "smithy.api#documentation": "

\n [AMI policies only] Specifies an AMI deprecation rule for AMIs created by an AMI lifecycle policy.

\n

For age-based schedules, you must specify Interval and \n\t\t\tIntervalUnit. For count-based schedules, you must specify \n\t\t\tCount.

" } }, "com.amazonaws.dlm#DescriptionRegex": { @@ -566,7 +578,7 @@ "DescriptionRegex": { "target": "com.amazonaws.dlm#DescriptionRegex", "traits": { - "smithy.api#documentation": "

The snapshot description that can trigger the policy. The description pattern is specified using \n\t\t\ta regular expression. The policy runs only if a snapshot with a description that matches the \n\t\t\tspecified pattern is shared with your account.

\n\t\t

For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ \n\t\t\tconfigures the policy to run only if snapshots created by policy policy-1234567890abcdef0 \n\t\t\tare shared with your account.

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

The snapshot description that can trigger the policy. The description pattern is specified using \n\t\t\ta regular expression. The policy runs only if a snapshot with a description that matches the \n\t\t\tspecified pattern is shared with your account.

\n

For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ \n\t\t\tconfigures the policy to run only if snapshots created by policy policy-1234567890abcdef0 \n\t\t\tare shared with your account.

", "smithy.api#required": {} } } @@ -701,7 +713,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets summary information about all or the specified data lifecycle policies.

\n\t\t

To get complete information about a policy, use GetLifecyclePolicy.

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

Gets summary information about all or the specified data lifecycle policies.

\n

To get complete information about a policy, use GetLifecyclePolicy.

", "smithy.api#http": { "method": "GET", "uri": "/policies", @@ -736,17 +748,20 @@ "TargetTags": { "target": "com.amazonaws.dlm#TargetTagsFilterList", "traits": { - "smithy.api#documentation": "

The target tag for a policy.

\n\t\t

Tags are strings in the format key=value.

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

The target tag for a policy.

\n

Tags are strings in the format key=value.

", "smithy.api#httpQuery": "targetTags" } }, "TagsToAdd": { "target": "com.amazonaws.dlm#TagsToAddFilterList", "traits": { - "smithy.api#documentation": "

The tags to add to objects created by the policy.

\n\t\t

Tags are strings in the format key=value.

\n\t\t

These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.

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

The tags to add to objects created by the policy.

\n

Tags are strings in the format key=value.

\n

These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.

", "smithy.api#httpQuery": "tagsToAdd" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#GetLifecyclePoliciesResponse": { @@ -758,6 +773,9 @@ "smithy.api#documentation": "

Summary information about the lifecycle policies.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dlm#GetLifecyclePolicy": { @@ -799,6 +817,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#GetLifecyclePolicyResponse": { @@ -810,6 +831,9 @@ "smithy.api#documentation": "

Detailed information about the lifecycle policy.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dlm#GettablePolicyStateValues": { @@ -1072,6 +1096,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#ListTagsForResourceResponse": { @@ -1083,6 +1110,9 @@ "smithy.api#documentation": "

Information about the tags.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.dlm#LocationValues": { @@ -1120,28 +1150,24 @@ "ExcludeBootVolume": { "target": "com.amazonaws.dlm#ExcludeBootVolume", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n [Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume \n\t\t\tsnapshot sets. The default is false. If you specify true, \n\t\t\tthen the root volumes attached to targeted instances will be excluded from the multi-volume \n\t\t\tsnapshot sets created by the policy.

" } }, "NoReboot": { "target": "com.amazonaws.dlm#NoReboot", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

\n [AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy \n\t\t\truns. true indicates that targeted instances are not rebooted when the policy \n\t\t\truns. false indicates that target instances are rebooted when the policy runs. \n\t\t\tThe default is true (instances are not rebooted).

" } }, "ExcludeDataVolumeTags": { "target": "com.amazonaws.dlm#ExcludeDataVolumeTagList", "traits": { - "smithy.api#documentation": "

\n [Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from \n\t\t\tmulti-volume snapshot sets.

\n\t\t

If you create a snapshot lifecycle policy that targets instances and you specify tags for \n\t\t\tthis parameter, then data volumes with the specified tags that are attached to targeted \n\t\t\tinstances will be excluded from the multi-volume snapshot sets created by the policy.

" + "smithy.api#documentation": "

\n [Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from \n\t\t\tmulti-volume snapshot sets.

\n

If you create a snapshot lifecycle policy that targets instances and you specify tags for \n\t\t\tthis parameter, then data volumes with the specified tags that are attached to targeted \n\t\t\tinstances will be excluded from the multi-volume snapshot sets created by the policy.

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

\n [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The \n\t\t\tset of valid parameters depends on the combination of policy type and target resource \n\t\t\ttype.

\n\t\t

If you choose to exclude boot volumes and you specify tags that consequently exclude \n\t\t\tall of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create \n\t\t\tany snapshots for the affected instance, and it will emit a SnapshotsCreateFailed \n\t\t\tAmazon CloudWatch metric. For more information, see Monitor your policies \n\t\t\t\tusing Amazon CloudWatch.

" + "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The \n\t\t\tset of valid parameters depends on the combination of policy type and target resource \n\t\t\ttype.

\n

If you choose to exclude boot volumes and you specify tags that consequently exclude \n\t\t\tall of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create \n\t\t\tany snapshots for the affected instance, and it will emit a SnapshotsCreateFailed \n\t\t\tAmazon CloudWatch metric. For more information, see Monitor your policies \n\t\t\t\tusing Amazon CloudWatch.

" } }, "com.amazonaws.dlm#PolicyArn": { @@ -1170,9 +1196,7 @@ "PolicyType": { "target": "com.amazonaws.dlm#PolicyTypeValues", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "EBS_SNAPSHOT_MANAGEMENT", - "smithy.api#documentation": "

\n [All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT \n\t\t\tto create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT \n\t\t\tto create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY \n\t\t\tto create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.

\n\t\t

The default is EBS_SNAPSHOT_MANAGEMENT.

" + "smithy.api#documentation": "

\n [All policy types] The valid target resource types and actions a policy can manage. Specify EBS_SNAPSHOT_MANAGEMENT \n\t\t\tto create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT \n\t\t\tto create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY \n\t\t\tto create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.

\n

The default is EBS_SNAPSHOT_MANAGEMENT.

" } }, "ResourceTypes": { @@ -1184,7 +1208,7 @@ "ResourceLocations": { "target": "com.amazonaws.dlm#ResourceLocationList", "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an \n\t\t\tAmazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost \n\t\t\tin your account, specify OUTPOST.

\n\t\t\t

If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources \n\t\t\t\tof the specified type with matching target tags across all of the Outposts in your account.

" + "smithy.api#documentation": "

\n [Snapshot and AMI policies only] The location of the resources to backup. If the source resources are located in an \n\t\t\tAmazon Web Services Region, specify CLOUD. If the source resources are located on an Outpost \n\t\t\tin your account, specify OUTPOST.

\n

If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources \n\t\t\t\tof the specified type with matching target tags across all of the Outposts in your account.

" } }, "TargetTags": { @@ -1202,7 +1226,7 @@ "Parameters": { "target": "com.amazonaws.dlm#Parameters", "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.

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

If you are modifying a policy that was created or previously modified using the Amazon \n\t\t\t\tData Lifecycle Manager console, then you must include this parameter and specify either \n\t\t\t\tthe default values or the new values that you require. You can't omit this parameter or \n\t\t\t\tset its values to null.

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

\n [Snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies.

\n \n

If you are modifying a policy that was created or previously modified using the Amazon \n\t\t\t\tData Lifecycle Manager console, then you must include this parameter and specify either \n\t\t\t\tthe default values or the new values that you require. You can't omit this parameter or \n\t\t\t\tset its values to null.

\n
" } }, "EventSource": { @@ -1372,7 +1396,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs \n\t\t\tcreated by AMI policies.

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

For snapshot policies that have an ArchiveRule, this retention rule\n\t\t\t\tapplies to standard tier retention. When the retention threshold is met, snapshots\n\t\t\t\tare moved from the standard to the archive tier.

\n\t\t\t

For snapshot policies that do not have an ArchiveRule, snapshots \n\t\t\t\tare permanently deleted when this retention threshold is met.

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

You can retain snapshots based on either a count or a time interval.

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

\n [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs \n\t\t\tcreated by AMI policies.

\n \n

For snapshot policies that have an ArchiveRule, this retention rule\n\t\t\t\tapplies to standard tier retention. When the retention threshold is met, snapshots\n\t\t\t\tare moved from the standard to the archive tier.

\n

For snapshot policies that do not have an ArchiveRule, snapshots \n\t\t\t\tare permanently deleted when this retention threshold is met.

\n
\n

You can retain snapshots based on either a count or a time interval.

\n " } }, "com.amazonaws.dlm#RetentionArchiveTier": { @@ -1400,7 +1424,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot policies only] Describes the retention rule for archived snapshots. Once the archive \n\t\t\tretention threshold is met, the snapshots are permanently deleted from the archive tier.

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

The archive retention rule must retain snapshots in the archive tier for a minimum \n\t\t\t\tof 90 days.

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

For count-based schedules, you must specify Count. For age-based\n\t\t\t\tschedules, you must specify Interval and\n\t\t\t\t IntervalUnit.

\n\t\t

For more information about using snapshot archiving, see Considerations for \n\t\t\tsnapshot lifecycle policies.

" + "smithy.api#documentation": "

\n [Snapshot policies only] Describes the retention rule for archived snapshots. Once the archive \n\t\t\tretention threshold is met, the snapshots are permanently deleted from the archive tier.

\n \n

The archive retention rule must retain snapshots in the archive tier for a minimum \n\t\t\t\tof 90 days.

\n
\n

For count-based schedules, you must specify Count. For age-based\n\t\t\t\tschedules, you must specify Interval and\n\t\t\t\t IntervalUnit.

\n

For more information about using snapshot archiving, see Considerations for \n\t\t\tsnapshot lifecycle policies.

" } }, "com.amazonaws.dlm#RetentionIntervalUnitValues": { @@ -1481,7 +1505,7 @@ "CrossRegionCopyRules": { "target": "com.amazonaws.dlm#CrossRegionCopyRules", "traits": { - "smithy.api#documentation": "

Specifies a rule for copying snapshots or AMIs across regions.

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

You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. \n\t\t\tIf the policy creates snapshots in a Region, then snapshots can be copied to up to three \n\t\t\tRegions or Outposts.

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

Specifies a rule for copying snapshots or AMIs across regions.

\n \n

You can't specify cross-Region copy rules for policies that create snapshots on an Outpost. \n\t\t\tIf the policy creates snapshots in a Region, then snapshots can be copied to up to three \n\t\t\tRegions or Outposts.

\n
" } }, "ShareRules": { @@ -1499,7 +1523,7 @@ "ArchiveRule": { "target": "com.amazonaws.dlm#ArchiveRule", "traits": { - "smithy.api#documentation": "

\n [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving \n\t\t\trule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's \n\t\t\tretention threshold is met. Snapshots are then retained in the archive tier for the archive retention \n\t\t\tperiod that you specify.

\n\t\t

For more information about using snapshot archiving, see Considerations for \n\t\t\t\tsnapshot lifecycle policies.

" + "smithy.api#documentation": "

\n [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving \n\t\t\trule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's \n\t\t\tretention threshold is met. Snapshots are then retained in the archive tier for the archive retention \n\t\t\tperiod that you specify.

\n

For more information about using snapshot archiving, see Considerations for \n\t\t\t\tsnapshot lifecycle policies.

" } } }, @@ -1763,11 +1787,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.dlm#TagValue": { "type": "string", @@ -1919,11 +1949,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.dlm#UpdateLifecyclePolicy": { "type": "operation", @@ -1948,7 +1984,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the specified lifecycle policy.

\n\t\t

For more information about updating a policy, see Modify lifecycle \n\t\t\tpolicies.

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

Updates the specified lifecycle policy.

\n

For more information about updating a policy, see Modify lifecycle \n\t\t\tpolicies.

", "smithy.api#http": { "method": "PATCH", "uri": "/policies/{PolicyId}", @@ -1991,11 +2027,17 @@ "smithy.api#documentation": "

The configuration of the lifecycle policy. You cannot update the policy type or the\n\t\t\tresource type.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.dlm#UpdateLifecyclePolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.dlm#VariableTagsList": { "type": "list", @@ -2050,8 +2092,920 @@ "name": "dlm" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Data Lifecycle Manager\n\t\t

With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create\n\t\t\tlifecycle policies, which are used to automate operations on the specified\n\t\t\tresources.

\n\t\t

Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager\n\t\t\twith Amazon EBS, see \n\t\t\t\tAmazon Data Lifecycle Manager in the Amazon EC2 User Guide.

", - "smithy.api#title": "Amazon Data Lifecycle Manager" + "smithy.api#documentation": "Amazon Data Lifecycle Manager\n

With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create\n\t\t\tlifecycle policies, which are used to automate operations on the specified\n\t\t\tresources.

\n

Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager\n\t\t\twith Amazon EBS, see \n\t\t\t\tAmazon Data Lifecycle Manager in the Amazon EC2 User Guide.

", + "smithy.api#title": "Amazon Data Lifecycle Manager", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "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" + } + ] + } + ], + "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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://dlm-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://dlm.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://dlm-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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://dlm.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.me-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.af-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://dlm-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://dlm.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "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": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "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": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" + } } } } diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index ee225e13753..42b38590cd6 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -4194,198 +4194,263 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-iso-west-1.c2s.ic.gov" + "url": "https://ec2.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "UseDualStack": false, "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ec2-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { "UseDualStack": false, - "Region": "us-iso-west-1" + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-iso-east-1.c2s.ic.gov" + "url": "https://ec2.us-gov-west-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ec2.us-gov-east-1.amazonaws.com" + } + }, + "params": { "UseDualStack": false, - "Region": "us-iso-east-1" + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://ec2-fips.us-gov-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "Region": "us-gov-east-1" } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.cn-north-1.amazonaws.com.cn" + "url": "https://ec2.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "cn-north-1" + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.cn-northwest-1.amazonaws.com.cn" + "url": "https://ec2.us-gov-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ec2.us-west-2.amazonaws.com" + } + }, + "params": { "UseDualStack": false, - "Region": "cn-northwest-1" + "UseFIPS": false, + "Region": "us-west-2" } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://ec2-fips.us-west-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://ec2.us-west-2.api.aws" + } + }, + "params": { "UseDualStack": true, - "Region": "cn-north-1" + "UseFIPS": false, + "Region": "us-west-2" } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.cn-north-1.amazonaws.com.cn" + "url": "https://ec2.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "cn-north-1" + "UseFIPS": false, + "Region": "us-west-1" } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://ec2-fips.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-isob-east-1.sc2s.sgov.gov" + "url": "https://ec2.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": false, + "Region": "ca-central-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://ec2-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-isob-east-1" + "UseFIPS": true, + "Region": "ca-central-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-gov-east-1.amazonaws.com" + "url": "https://ec2.ap-southeast-3.amazonaws.com" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-gov-east-1" + "UseFIPS": false, + "Region": "ap-southeast-3" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-gov-west-1.amazonaws.com" + "url": "https://ec2.ap-southeast-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://ec2.ap-southeast-1.amazonaws.com" + } + }, + "params": { "UseDualStack": false, - "Region": "us-gov-west-1" + "UseFIPS": false, + "Region": "ap-southeast-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-gov-east-1.api.aws" + "url": "https://ec2.eu-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-gov-east-1.amazonaws.com" + "url": "https://ec2.eu-south-1.amazonaws.com" } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-gov-east-1" + "UseFIPS": false, + "Region": "eu-south-1" } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-gov-east-1.api.aws" + "url": "https://ec2.ap-east-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "Region": "ap-east-1" } }, { @@ -4396,8 +4461,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "sa-east-1" } }, @@ -4409,8 +4474,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "sa-east-1" } }, @@ -4422,8 +4487,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-2" } }, @@ -4435,8 +4500,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-2" } }, @@ -4448,8 +4513,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-2" } }, @@ -4461,8 +4526,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-north-1" } }, @@ -4474,8 +4539,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "me-south-1" } }, @@ -4487,8 +4552,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-3" } }, @@ -4500,8 +4565,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-2" } }, @@ -4513,8 +4578,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "eu-west-1" } }, @@ -4526,8 +4591,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "eu-west-1" } }, @@ -4539,8 +4604,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1" } }, @@ -4552,8 +4617,8 @@ } }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1" } }, @@ -4565,8 +4630,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-1" } }, @@ -4578,8 +4643,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-3" } }, @@ -4591,8 +4656,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-2" } }, @@ -4604,8 +4669,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-northeast-1" } }, @@ -4617,8 +4682,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "ap-south-1" } }, @@ -4630,8 +4695,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "ap-south-1" } }, @@ -4643,191 +4708,126 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.us-west-2.amazonaws.com" - } - }, - "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-west-2" + "Region": "af-south-1" } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.us-west-2.api.aws" + "url": "https://ec2-fips.us-east-1.api.aws" } }, "params": { - "UseFIPS": false, "UseDualStack": true, - "Region": "us-west-2" + "UseFIPS": true, + "Region": "us-east-1" } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.us-west-1.amazonaws.com" + "url": "https://ec2.us-iso-west-1.c2s.ic.gov" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-west-1" + "UseFIPS": false, + "Region": "us-iso-west-1" } }, { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-west-1.amazonaws.com" + "url": "https://ec2.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "us-west-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ca-central-1.amazonaws.com" - } - }, - "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "Region": "us-iso-east-1" } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2-fips.ca-central-1.amazonaws.com" + "url": "https://ec2-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, "UseDualStack": false, - "Region": "ca-central-1" + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ap-southeast-3.amazonaws.com" + "url": "https://ec2.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-southeast-3" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.ap-southeast-2.amazonaws.com" - } - }, - "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "Region": "cn-northwest-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ap-southeast-1.amazonaws.com" + "url": "https://ec2.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://ec2.eu-central-1.amazonaws.com" - } - }, - "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "Region": "cn-north-1" } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2.eu-south-1.amazonaws.com" + "url": "https://ec2-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://ec2.ap-east-1.amazonaws.com" + "url": "https://ec2-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "ap-east-1" + "UseFIPS": true, + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://ec2-fips.us-east-1.api.aws" + "url": "https://ec2.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": true, "UseDualStack": true, - "Region": "us-east-1" + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -4838,8 +4838,8 @@ } }, "params": { - "UseFIPS": false, "UseDualStack": false, + "UseFIPS": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -4850,8 +4850,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "UseDualStack": false, + "UseFIPS": true, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -4862,8 +4862,8 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "UseDualStack": true, + "UseFIPS": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -5894,13 +5894,13 @@ "type": "structure", "members": { "CertificateArn": { - "target": "com.amazonaws.ec2#ResourceArn", + "target": "com.amazonaws.ec2#CertificateId", "traits": { "smithy.api#documentation": "

The ARN of the ACM certificate with which to associate the IAM role.

" } }, "RoleArn": { - "target": "com.amazonaws.ec2#ResourceArn", + "target": "com.amazonaws.ec2#RoleId", "traits": { "smithy.api#documentation": "

The ARN of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM \n\t\t\tcertificate.

" } @@ -10408,6 +10408,9 @@ "smithy.api#documentation": "

Information about the client certificate to be used for authentication.

" } }, + "com.amazonaws.ec2#CertificateId": { + "type": "string" + }, "com.amazonaws.ec2#CidrAuthorizationContext": { "type": "structure", "members": { @@ -15041,9 +15044,7 @@ "DestinationCidrBlock": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The CIDR range used for destination matches. Routing decisions are based on \n the most specific match.

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

The CIDR range used for destination matches. Routing decisions are based on \n the most specific match.

" } }, "LocalGatewayRouteTableId": { @@ -15073,6 +15074,12 @@ "traits": { "smithy.api#documentation": "

The ID of the network interface.

" } + }, + "DestinationPrefixListId": { + "target": "com.amazonaws.ec2#PrefixListResourceId", + "traits": { + "smithy.api#documentation": "

\n The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You \n cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.\n

" + } } }, "traits": { @@ -21456,9 +21463,7 @@ "DestinationCidrBlock": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The CIDR range for the route. This must match the CIDR for the route exactly.

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

The CIDR range for the route. This must match the CIDR for the route exactly.

" } }, "LocalGatewayRouteTableId": { @@ -21476,6 +21481,12 @@ "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } + }, + "DestinationPrefixListId": { + "target": "com.amazonaws.ec2#PrefixListResourceId", + "traits": { + "smithy.api#documentation": "

\n Use a prefix list in place of DestinationCidrBlock. You cannot use \n DestinationPrefixListId and DestinationCidrBlock in the same request.\n

" + } } }, "traits": { @@ -22767,7 +22778,7 @@ "type": "structure", "members": { "TrafficMirrorFilterRuleId": { - "target": "com.amazonaws.ec2#TrafficMirrorFilterRuleId", + "target": "com.amazonaws.ec2#TrafficMirrorFilterRuleIdWithResolver", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Traffic Mirror rule.

", @@ -39484,13 +39495,13 @@ "type": "structure", "members": { "CertificateArn": { - "target": "com.amazonaws.ec2#ResourceArn", + "target": "com.amazonaws.ec2#CertificateId", "traits": { "smithy.api#documentation": "

The ARN of the ACM certificate from which to disassociate the IAM role.

" } }, "RoleArn": { - "target": "com.amazonaws.ec2#ResourceArn", + "target": "com.amazonaws.ec2#RoleId", "traits": { "smithy.api#documentation": "

The ARN of the IAM role to disassociate.

" } @@ -45559,7 +45570,7 @@ "type": "structure", "members": { "CertificateArn": { - "target": "com.amazonaws.ec2#ResourceArn", + "target": "com.amazonaws.ec2#CertificateId", "traits": { "smithy.api#documentation": "

The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon \n\t\t\tS3 object information.

" } @@ -53329,6 +53340,9 @@ } } }, + "com.amazonaws.ec2#InstanceIdWithVolumeResolver": { + "type": "string" + }, "com.amazonaws.ec2#InstanceIdsSet": { "type": "list", "member": { @@ -54660,9 +54674,11 @@ "type": "structure", "members": { "InstanceId": { - "target": "com.amazonaws.ec2#InstanceId", + "target": "com.amazonaws.ec2#InstanceIdWithVolumeResolver", "traits": { - "smithy.api#documentation": "

The instance to specify which volumes should be snapshotted.

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

The instance to specify which volumes should be snapshotted.

", + "smithy.api#required": {} } }, "ExcludeBootVolume": { @@ -64826,6 +64842,14 @@ "smithy.api#documentation": "

The ID of the network interface.

", "smithy.api#xmlName": "networkInterfaceId" } + }, + "DestinationPrefixListId": { + "target": "com.amazonaws.ec2#PrefixListResourceId", + "traits": { + "aws.protocols#ec2QueryName": "DestinationPrefixListId", + "smithy.api#documentation": "

\n The ID of the prefix list.\n

", + "smithy.api#xmlName": "destinationPrefixListId" + } } }, "traits": { @@ -67942,9 +67966,7 @@ "DestinationCidrBlock": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

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

The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

" } }, "LocalGatewayRouteTableId": { @@ -67974,6 +67996,12 @@ "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } + }, + "DestinationPrefixListId": { + "target": "com.amazonaws.ec2#PrefixListResourceId", + "traits": { + "smithy.api#documentation": "

\n The ID of the prefix list. Use a prefix list in place of DestinationCidrBlock. You \n cannot use DestinationPrefixListId and DestinationCidrBlock in the same request.\n

" + } } }, "traits": { @@ -68743,7 +68771,7 @@ "type": "structure", "members": { "TrafficMirrorFilterRuleId": { - "target": "com.amazonaws.ec2#TrafficMirrorFilterRuleId", + "target": "com.amazonaws.ec2#TrafficMirrorFilterRuleIdWithResolver", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Traffic Mirror rule.

", @@ -82064,6 +82092,9 @@ } } }, + "com.amazonaws.ec2#RoleId": { + "type": "string" + }, "com.amazonaws.ec2#RootDeviceType": { "type": "enum", "members": { @@ -83804,7 +83835,7 @@ "Filters": { "target": "com.amazonaws.ec2#FilterList", "traits": { - "smithy.api#documentation": "

One or more filters.

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

One or more filters.

\n ", "smithy.api#xmlName": "Filter" } }, @@ -89455,7 +89486,7 @@ "target": "com.amazonaws.ec2#TrafficMirrorFilterRuleField" } }, - "com.amazonaws.ec2#TrafficMirrorFilterRuleId": { + "com.amazonaws.ec2#TrafficMirrorFilterRuleIdWithResolver": { "type": "string" }, "com.amazonaws.ec2#TrafficMirrorFilterRuleList": { diff --git a/codegen/sdk-codegen/aws-models/imagebuilder.json b/codegen/sdk-codegen/aws-models/imagebuilder.json index f9f093e484e..b384c9dc6a9 100644 --- a/codegen/sdk-codegen/aws-models/imagebuilder.json +++ b/codegen/sdk-codegen/aws-models/imagebuilder.json @@ -274,6 +274,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CancelImageCreationResponse": { @@ -297,6 +300,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image whose creation has been cancelled.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ClientException": { @@ -1214,6 +1220,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateComponentResponse": { @@ -1237,6 +1246,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the component that was created by this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#CreateContainerRecipe": { @@ -1398,6 +1410,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateContainerRecipeResponse": { @@ -1421,6 +1436,9 @@ "smithy.api#documentation": "

Returns the Amazon Resource Name (ARN) of the container recipe that the request created.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#CreateDistributionConfiguration": { @@ -1512,6 +1530,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateDistributionConfigurationResponse": { @@ -1535,6 +1556,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was created by this\n\t\t\trequest.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#CreateImage": { @@ -1711,6 +1735,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateImagePipelineResponse": { @@ -1734,6 +1761,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was created by this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#CreateImageRecipe": { @@ -1857,6 +1887,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateImageRecipeResponse": { @@ -1880,6 +1913,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image recipe that was created by this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#CreateImageRequest": { @@ -1936,6 +1972,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateImageResponse": { @@ -1959,6 +1998,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image that was created by this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#CreateInfrastructureConfiguration": { @@ -2101,6 +2143,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#CreateInfrastructureConfigurationResponse": { @@ -2124,6 +2169,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was created by\n\t\t\tthis request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DateTime": { @@ -2180,6 +2228,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteComponentResponse": { @@ -2197,6 +2248,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the component build version that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DeleteContainerRecipe": { @@ -2250,6 +2304,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteContainerRecipeResponse": { @@ -2267,6 +2324,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the container recipe that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DeleteDistributionConfiguration": { @@ -2320,6 +2380,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteDistributionConfigurationResponse": { @@ -2337,6 +2400,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DeleteImage": { @@ -2430,6 +2496,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteImagePipelineResponse": { @@ -2447,6 +2516,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DeleteImageRecipe": { @@ -2500,6 +2572,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteImageRecipeResponse": { @@ -2517,6 +2592,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image recipe that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DeleteImageRequest": { @@ -2530,6 +2608,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteImageResponse": { @@ -2547,6 +2628,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Image Builder image resource that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DeleteInfrastructureConfiguration": { @@ -2600,6 +2684,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#DeleteInfrastructureConfigurationResponse": { @@ -2617,6 +2704,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#DiskImageFormat": { @@ -3218,6 +3308,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetComponentPolicyResponse": { @@ -3235,6 +3328,9 @@ "smithy.api#documentation": "

The component policy.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetComponentRequest": { @@ -3248,6 +3344,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetComponentResponse": { @@ -3265,6 +3364,9 @@ "smithy.api#documentation": "

The component object associated with the specified ARN.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetContainerRecipe": { @@ -3352,6 +3454,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetContainerRecipePolicyResponse": { @@ -3369,6 +3474,9 @@ "smithy.api#documentation": "

The container recipe policy object that is returned.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetContainerRecipeRequest": { @@ -3382,6 +3490,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetContainerRecipeResponse": { @@ -3399,6 +3510,9 @@ "smithy.api#documentation": "

The container recipe object that is returned.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetDistributionConfiguration": { @@ -3449,6 +3563,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetDistributionConfigurationResponse": { @@ -3466,6 +3583,9 @@ "smithy.api#documentation": "

The distribution configuration object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetImage": { @@ -3553,6 +3673,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetImagePipelineResponse": { @@ -3570,6 +3693,9 @@ "smithy.api#documentation": "

The image pipeline object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetImagePolicy": { @@ -3620,6 +3746,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetImagePolicyResponse": { @@ -3637,6 +3766,9 @@ "smithy.api#documentation": "

The image policy object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetImageRecipe": { @@ -3724,6 +3856,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetImageRecipePolicyResponse": { @@ -3741,6 +3876,9 @@ "smithy.api#documentation": "

The image recipe policy object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetImageRecipeRequest": { @@ -3754,6 +3892,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetImageRecipeResponse": { @@ -3771,6 +3912,9 @@ "smithy.api#documentation": "

The image recipe object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetImageRequest": { @@ -3784,6 +3928,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetImageResponse": { @@ -3801,6 +3948,9 @@ "smithy.api#documentation": "

The image object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#GetInfrastructureConfiguration": { @@ -3853,7 +4003,8 @@ } }, "traits": { - "smithy.api#documentation": "

GetInfrastructureConfiguration request object.

" + "smithy.api#documentation": "

GetInfrastructureConfiguration request object.

", + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#GetInfrastructureConfigurationResponse": { @@ -3873,7 +4024,8 @@ } }, "traits": { - "smithy.api#documentation": "

GetInfrastructureConfiguration response object.

" + "smithy.api#documentation": "

GetInfrastructureConfiguration response object.

", + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#HttpPutResponseHopLimit": { @@ -4821,6 +4973,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ImportComponentResponse": { @@ -4844,6 +4999,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the imported component.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ImportVmImage": { @@ -4931,6 +5089,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ImportVmImageResponse": { @@ -4954,6 +5115,9 @@ "smithy.api#documentation": "

The idempotency token that was used for this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#InfrastructureConfiguration": { @@ -5494,6 +5658,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListComponentBuildVersionsResponse": { @@ -5517,6 +5684,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListComponents": { @@ -5600,6 +5770,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListComponentsResponse": { @@ -5623,6 +5796,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListContainerRecipes": { @@ -5699,6 +5875,9 @@ "smithy.api#documentation": "

Provides a token for pagination, which determines where to begin the next set of results when the current set reaches the maximum for one request.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListContainerRecipesResponse": { @@ -5722,6 +5901,9 @@ "smithy.api#documentation": "

The next token field is used for paginated responses. When this is not empty, there are additional container recipes that the service has not included in this response. Use this token with the next request to retrieve additional list items.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListDistributionConfigurations": { @@ -5792,6 +5974,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListDistributionConfigurationsResponse": { @@ -5815,6 +6000,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListImageBuildVersions": { @@ -5892,6 +6080,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListImageBuildVersionsResponse": { @@ -5915,6 +6106,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListImagePackages": { @@ -5989,6 +6183,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListImagePackagesResponse": { @@ -6012,6 +6209,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListImagePipelineImages": { @@ -6092,6 +6292,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListImagePipelineImagesResponse": { @@ -6115,6 +6318,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListImagePipelines": { @@ -6185,6 +6391,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListImagePipelinesResponse": { @@ -6208,6 +6417,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListImageRecipes": { @@ -6284,6 +6496,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListImageRecipesResponse": { @@ -6307,6 +6522,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListImages": { @@ -6396,6 +6614,9 @@ "smithy.api#documentation": "

Includes deprecated images in the response list.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListImagesResponse": { @@ -6419,6 +6640,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListInfrastructureConfigurations": { @@ -6489,6 +6713,9 @@ "smithy.api#documentation": "

A token to specify where to start paginating. This is the NextToken from a previously\n\t\t\ttruncated response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListInfrastructureConfigurationsResponse": { @@ -6512,6 +6739,9 @@ "smithy.api#documentation": "

The next token used for paginated responses. When this is not empty, there are additional\n\t\t\telements that the service has not included in this request. Use this token with the next\n\t\t\trequest to retrieve additional objects.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#ListTagsForResource": { @@ -6553,6 +6783,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#ListTagsForResourceResponse": { @@ -6564,6 +6797,9 @@ "smithy.api#documentation": "

The tags for the specified resource.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#Logging": { @@ -6826,6 +7062,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#PutComponentPolicyResponse": { @@ -6843,6 +7082,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the component that this policy was applied to.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#PutContainerRecipePolicy": { @@ -6905,6 +7147,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#PutContainerRecipePolicyResponse": { @@ -6922,6 +7167,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the container recipe that this policy was applied to.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#PutImagePolicy": { @@ -6984,6 +7232,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#PutImagePolicyResponse": { @@ -7001,6 +7252,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image that this policy was applied to.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#PutImageRecipePolicy": { @@ -7063,6 +7317,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#PutImageRecipePolicyResponse": { @@ -7080,6 +7337,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image recipe that this policy was applied to.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#RegionList": { @@ -7376,6 +7636,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#StartImagePipelineExecutionResponse": { @@ -7399,6 +7662,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image that was created by this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#StringList": { @@ -7504,11 +7770,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.imagebuilder#TagValue": { "type": "string", @@ -7607,11 +7879,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.imagebuilder#UpdateDistributionConfiguration": { "type": "operation", @@ -7690,6 +7968,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#UpdateDistributionConfigurationResponse": { @@ -7713,6 +7994,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was updated by this\n\t\t\trequest.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#UpdateImagePipeline": { @@ -7831,6 +8115,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#UpdateImagePipelineResponse": { @@ -7854,6 +8141,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was updated by this request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#UpdateInfrastructureConfiguration": { @@ -7984,6 +8274,9 @@ "smithy.api#documentation": "

The instance metadata options that you can set for the HTTP requests that pipeline builds\n\t\t\tuse to launch EC2 build and test instances. For more information about instance metadata\n\t\t\toptions, see one of the following links:

\n " } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.imagebuilder#UpdateInfrastructureConfigurationResponse": { @@ -8007,6 +8300,9 @@ "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by\n\t\t\tthis request.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.imagebuilder#Uri": { @@ -8364,12 +8660,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -8416,12 +8718,43 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://imagebuilder.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://imagebuilder-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -8468,12 +8801,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://imagebuilder.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://imagebuilder.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -8486,12 +8825,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://imagebuilder.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://imagebuilder.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } @@ -8499,6 +8844,240 @@ }, "smithy.rules#endpointTests": { "testCases": [ + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://imagebuilder.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, { "documentation": "For custom endpoint with fips disabled and dualstack disabled", "expect": { diff --git a/codegen/sdk-codegen/aws-models/kafka.json b/codegen/sdk-codegen/aws-models/kafka.json index b907b93d44c..328e376b3eb 100644 --- a/codegen/sdk-codegen/aws-models/kafka.json +++ b/codegen/sdk-codegen/aws-models/kafka.json @@ -114,7 +114,8 @@ } }, "traits": { - "smithy.api#documentation": "

Associates sasl scram secrets to cluster.

" + "smithy.api#documentation": "

Associates sasl scram secrets to cluster.

", + "smithy.api#input": {} } }, "com.amazonaws.kafka#BatchAssociateScramSecretResponse": { @@ -134,6 +135,9 @@ "smithy.api#jsonName": "unprocessedScramSecrets" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#BatchDisassociateScramSecret": { @@ -197,7 +201,8 @@ } }, "traits": { - "smithy.api#documentation": "

Disassociates sasl scram secrets to cluster.

" + "smithy.api#documentation": "

Disassociates sasl scram secrets to cluster.

", + "smithy.api#input": {} } }, "com.amazonaws.kafka#BatchDisassociateScramSecretResponse": { @@ -217,6 +222,9 @@ "smithy.api#jsonName": "unprocessedScramSecrets" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#BrokerAZDistribution": { @@ -1256,6 +1264,9 @@ "smithy.api#jsonName": "storageMode" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#CreateClusterResponse": { @@ -1282,6 +1293,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#CreateClusterV2": { @@ -1356,6 +1370,9 @@ "smithy.api#jsonName": "serverless" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#CreateClusterV2Response": { @@ -1389,6 +1406,9 @@ "smithy.api#jsonName": "clusterType" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#CreateConfiguration": { @@ -1464,6 +1484,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#CreateConfigurationResponse": { @@ -1504,6 +1527,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DeleteCluster": { @@ -1555,6 +1581,9 @@ "smithy.api#httpQuery": "currentVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DeleteClusterResponse": { @@ -1574,6 +1603,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DeleteConfiguration": { @@ -1618,6 +1650,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DeleteConfigurationResponse": { @@ -1637,6 +1672,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DescribeCluster": { @@ -1718,6 +1756,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DescribeClusterOperationResponse": { @@ -1730,6 +1771,9 @@ "smithy.api#jsonName": "clusterOperationInfo" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DescribeClusterRequest": { @@ -1743,6 +1787,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DescribeClusterResponse": { @@ -1755,6 +1802,9 @@ "smithy.api#jsonName": "clusterInfo" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DescribeClusterV2": { @@ -1802,6 +1852,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DescribeClusterV2Response": { @@ -1814,6 +1867,9 @@ "smithy.api#jsonName": "clusterInfo" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DescribeConfiguration": { @@ -1864,6 +1920,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DescribeConfigurationResponse": { @@ -1918,6 +1977,9 @@ "smithy.api#jsonName": "state" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#DescribeConfigurationRevision": { @@ -1977,6 +2039,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#DescribeConfigurationRevisionResponse": { @@ -2018,6 +2083,9 @@ "smithy.api#jsonName": "serverProperties" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#EBSStorageInfo": { @@ -2246,6 +2314,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#GetBootstrapBrokersResponse": { @@ -2300,6 +2371,9 @@ "smithy.api#jsonName": "bootstrapBrokerStringPublicSaslIam" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#GetCompatibleKafkaVersions": { @@ -2352,6 +2426,9 @@ "smithy.api#httpQuery": "clusterArn" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#GetCompatibleKafkaVersionsResponse": { @@ -2364,6 +2441,9 @@ "smithy.api#jsonName": "compatibleKafkaVersions" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#Iam": { @@ -2572,7 +2652,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -2621,15 +2701,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -2743,12 +2814,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -2797,6 +2874,31 @@ "conditions": [], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://kafka.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { @@ -2853,12 +2955,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -2871,12 +2979,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://kafka.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kafka.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } @@ -2885,1355 +2999,510 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ca-central-1.amazonaws.com" + "url": "https://kafka-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://kafka.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://kafka.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.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://kafka.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://kafka-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://kafka-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://kafka.sa-east-1.api.aws" + "url": "https://kafka.us-iso-east-1.c2s.ic.gov" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.sa-east-1.amazonaws.com" + "url": "https://kafka.ap-east-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-east-1.api.aws" + "url": "https://kafka.eu-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-east-1.amazonaws.com" + "url": "https://kafka.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-east-1.api.aws" + "url": "https://kafka.eu-west-3.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "eu-west-3" } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-east-1.amazonaws.com" + "url": "https://kafka.eu-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://kafka.ap-northeast-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.cn-north-1.amazonaws.com.cn" + "url": "https://kafka.ap-south-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://kafka.ap-northeast-3.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.cn-north-1.amazonaws.com.cn" + "url": "https://kafka.ap-northeast-2.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.us-gov-west-1.api.aws" + "url": "https://kafka.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.us-gov-west-1.amazonaws.com" + "url": "https://kafka.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.us-gov-west-1.api.aws" + "url": "https://kafka.eu-north-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.us-gov-west-1.amazonaws.com" + "url": "https://kafka.ap-southeast-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-southeast-1.api.aws" + "url": "https://kafka.ap-southeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-southeast-1.amazonaws.com" + "url": "https://kafka.eu-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-southeast-1.api.aws" + "url": "https://kafka.af-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "af-south-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-southeast-1.amazonaws.com" + "url": "https://kafka.sa-east-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-southeast-2.api.aws" + "url": "https://kafka.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-southeast-2.amazonaws.com" + "url": "https://kafka.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-southeast-2.api.aws" + "url": "https://kafka.me-south-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "me-south-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-southeast-2.amazonaws.com" + "url": "https://kafka.ca-central-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ca-central-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-southeast-3.api.aws" + "url": "https://kafka-fips.us-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.ap-southeast-3.amazonaws.com" + "url": "https://kafka-fips.us-east-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kafka.ap-southeast-3.api.aws" + "url": "https://kafka.us-east-1.api.aws" } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.ap-southeast-3.amazonaws.com" + "url": "https://kafka.us-gov-west-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.us-east-1.api.aws" + "url": "https://kafka.us-gov-west-1.amazonaws.com" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.us-east-1.amazonaws.com" + "url": "https://kafka.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.us-east-1.api.aws" + "url": "https://kafka.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kafka.us-east-1.amazonaws.com" + "url": "https://kafka-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kafka-fips.us-east-2.api.aws" + "url": "https://kafka.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.us-east-2.amazonaws.com" + "url": "https://kafka-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.us-east-2.api.aws" + "url": "https://kafka.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.us-east-2.amazonaws.com" + "url": "https://kafka.cn-northwest-1.amazonaws.com.cn" } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka-fips.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://kafka.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kafka-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://kafka-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://kafka.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://kafka-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://kafka.cn-northwest-1.amazonaws.com.cn" + "url": "https://kafka.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -4244,9 +3513,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4256,9 +3525,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -4268,9 +3537,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } @@ -4376,6 +3645,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListClusterOperationsResponse": { @@ -4395,6 +3667,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListClusters": { @@ -4459,6 +3734,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListClustersResponse": { @@ -4478,6 +3756,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListClustersV2": { @@ -4549,6 +3830,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListClustersV2Response": { @@ -4568,6 +3852,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListConfigurationRevisions": { @@ -4639,6 +3926,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListConfigurationRevisionsResponse": { @@ -4658,6 +3948,9 @@ "smithy.api#jsonName": "revisions" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListConfigurations": { @@ -4718,6 +4011,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListConfigurationsResponse": { @@ -4737,6 +4033,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListKafkaVersions": { @@ -4794,6 +4093,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListKafkaVersionsResponse": { @@ -4811,6 +4113,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListNodes": { @@ -4876,6 +4181,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListNodesResponse": { @@ -4895,6 +4203,9 @@ "smithy.api#jsonName": "nodeInfoList" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListScramSecrets": { @@ -4969,6 +4280,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListScramSecretsResponse": { @@ -4988,6 +4302,9 @@ "smithy.api#jsonName": "secretArnList" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#ListTagsForResource": { @@ -5029,6 +4346,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#ListTagsForResourceResponse": { @@ -5041,6 +4361,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#LoggingInfo": { @@ -5626,7 +4949,8 @@ } }, "traits": { - "smithy.api#documentation": "Reboots a node." + "smithy.api#documentation": "Reboots a node.", + "smithy.api#input": {} } }, "com.amazonaws.kafka#RebootBrokerResponse": { @@ -5646,6 +4970,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#S3": { @@ -5910,6 +5237,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#Tls": { @@ -6072,6 +5402,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateBrokerCount": { @@ -6136,6 +5469,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateBrokerCountResponse": { @@ -6155,6 +5491,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateBrokerStorage": { @@ -6218,6 +5557,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateBrokerStorageResponse": { @@ -6237,6 +5579,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateBrokerType": { @@ -6306,6 +5651,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateBrokerTypeResponse": { @@ -6325,6 +5673,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateClusterConfiguration": { @@ -6391,6 +5742,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateClusterConfigurationResponse": { @@ -6410,6 +5764,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateClusterKafkaVersion": { @@ -6486,6 +5843,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateClusterKafkaVersionResponse": { @@ -6505,6 +5865,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateConfiguration": { @@ -6570,6 +5933,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateConfigurationResponse": { @@ -6589,6 +5955,9 @@ "smithy.api#jsonName": "latestRevision" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateConnectivity": { @@ -6657,7 +6026,8 @@ } }, "traits": { - "smithy.api#documentation": "Request body for UpdateConnectivity." + "smithy.api#documentation": "Request body for UpdateConnectivity.", + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateConnectivityResponse": { @@ -6677,6 +6047,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateMonitoring": { @@ -6754,7 +6127,8 @@ } }, "traits": { - "smithy.api#documentation": "Request body for UpdateMonitoring." + "smithy.api#documentation": "Request body for UpdateMonitoring.", + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateMonitoringResponse": { @@ -6774,6 +6148,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateSecurity": { @@ -6849,6 +6226,9 @@ "smithy.api#jsonName": "encryptionInfo" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateSecurityResponse": { @@ -6868,6 +6248,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#UpdateStorage": { @@ -6953,7 +6336,8 @@ } }, "traits": { - "smithy.api#documentation": "

Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.

" + "smithy.api#documentation": "

Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.

", + "smithy.api#input": {} } }, "com.amazonaws.kafka#UpdateStorageResponse": { @@ -6973,6 +6357,9 @@ "smithy.api#jsonName": "clusterOperationArn" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.kafka#VpcConfig": { diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.json b/codegen/sdk-codegen/aws-models/mediaconvert.json index 1504b378f6a..efa0a6a4eea 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.json @@ -916,11 +916,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#AssociateCertificateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#AudioChannelTag": { "type": "enum", @@ -2902,11 +2908,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#CancelJobResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#CaptionDescription": { "type": "structure", @@ -5007,6 +5019,9 @@ "smithy.api#jsonName": "userMetadata" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#CreateJobResponse": { @@ -5019,6 +5034,9 @@ "smithy.api#jsonName": "job" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#CreateJobTemplate": { @@ -5134,6 +5152,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#CreateJobTemplateResponse": { @@ -5146,6 +5167,9 @@ "smithy.api#jsonName": "jobTemplate" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#CreatePreset": { @@ -5225,6 +5249,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#CreatePresetResponse": { @@ -5237,6 +5264,9 @@ "smithy.api#jsonName": "preset" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#CreateQueue": { @@ -5322,6 +5352,9 @@ "smithy.api#jsonName": "tags" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#CreateQueueResponse": { @@ -5334,6 +5367,9 @@ "smithy.api#jsonName": "queue" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#DashAdditionalManifest": { @@ -6053,11 +6089,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#DeleteJobTemplateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#DeletePolicy": { "type": "operation", @@ -6098,11 +6140,17 @@ }, "com.amazonaws.mediaconvert#DeletePolicyRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.mediaconvert#DeletePolicyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#DeletePreset": { "type": "operation", @@ -6152,11 +6200,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#DeletePresetResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#DeleteQueue": { "type": "operation", @@ -6206,11 +6260,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#DeleteQueueResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#DescribeEndpoints": { "type": "operation", @@ -6302,7 +6362,8 @@ } }, "traits": { - "smithy.api#documentation": "DescribeEndpointsRequest" + "smithy.api#documentation": "DescribeEndpointsRequest", + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#DescribeEndpointsResponse": { @@ -6322,6 +6383,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#DestinationSettings": { @@ -6387,11 +6451,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#DisassociateCertificateResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#DolbyVision": { "type": "structure", @@ -8672,6 +8742,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#GetJobResponse": { @@ -8684,6 +8757,9 @@ "smithy.api#jsonName": "job" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#GetJobTemplate": { @@ -8734,6 +8810,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#GetJobTemplateResponse": { @@ -8746,6 +8825,9 @@ "smithy.api#jsonName": "jobTemplate" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#GetPolicy": { @@ -8787,7 +8869,10 @@ }, "com.amazonaws.mediaconvert#GetPolicyRequest": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#input": {} + } }, "com.amazonaws.mediaconvert#GetPolicyResponse": { "type": "structure", @@ -8799,6 +8884,9 @@ "smithy.api#jsonName": "policy" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#GetPreset": { @@ -8849,6 +8937,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#GetPresetResponse": { @@ -8861,6 +8952,9 @@ "smithy.api#jsonName": "preset" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#GetQueue": { @@ -8911,6 +9005,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#GetQueueResponse": { @@ -8923,6 +9020,9 @@ "smithy.api#jsonName": "queue" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#H264AdaptiveQuantization": { @@ -14935,6 +15035,9 @@ "smithy.api#httpQuery": "order" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#ListJobTemplatesResponse": { @@ -14954,6 +15057,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#ListJobs": { @@ -15038,6 +15144,9 @@ "smithy.api#httpQuery": "status" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#ListJobsResponse": { @@ -15057,6 +15166,9 @@ "smithy.api#jsonName": "nextToken" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#ListPresets": { @@ -15141,6 +15253,9 @@ "smithy.api#httpQuery": "order" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#ListPresetsResponse": { @@ -15160,6 +15275,9 @@ "smithy.api#jsonName": "presets" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#ListQueues": { @@ -15237,6 +15355,9 @@ "smithy.api#httpQuery": "order" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#ListQueuesResponse": { @@ -15256,6 +15377,9 @@ "smithy.api#jsonName": "queues" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#ListTagsForResource": { @@ -15306,6 +15430,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#ListTagsForResourceResponse": { @@ -15318,6 +15445,9 @@ "smithy.api#jsonName": "resourceTags" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#M2tsAudioBufferModel": { @@ -16482,12 +16612,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://mediaconvert-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://mediaconvert-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -16536,6 +16672,31 @@ "conditions": [], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://mediaconvert.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { @@ -16592,12 +16753,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://mediaconvert.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://mediaconvert.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -16631,6 +16798,25 @@ }, "type": "endpoint" }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://mediaconvert.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { @@ -16649,718 +16835,328 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.ap-south-1.api.aws" + "url": "https://mediaconvert-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, - "Region": "ap-south-1", - "UseFIPS": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.ap-south-1.amazonaws.com" + "url": "https://mediaconvert.us-iso-east-1.c2s.ic.gov" } }, "params": { "UseDualStack": false, - "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.ap-south-1.api.aws" + "url": "https://mediaconvert.sa-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "ap-south-1", - "UseFIPS": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.ap-south-1.amazonaws.com" + "url": "https://mediaconvert.us-west-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-1" } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.ca-central-1.api.aws" + "url": "https://mediaconvert-fips.us-west-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": true + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.ca-central-1.amazonaws.com" + "url": "https://mediaconvert.us-west-2.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-west-2" } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.ca-central-1.api.aws" + "url": "https://mediaconvert-fips.us-west-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": false + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.ca-central-1.amazonaws.com" + "url": "https://mediaconvert.ap-northeast-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-1" } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.eu-central-1.api.aws" + "url": "https://mediaconvert.ap-northeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.eu-central-1.amazonaws.com" + "url": "https://mediaconvert.ca-central-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "ca-central-1" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.eu-central-1.api.aws" + "url": "https://mediaconvert-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": false + "UseDualStack": false, + "UseFIPS": true, + "Region": "ca-central-1" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.eu-central-1.amazonaws.com" + "url": "https://mediaconvert.eu-north-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-north-1" } }, { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-west-1.api.aws" + "url": "https://mediaconvert.eu-west-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "us-west-1", - "UseFIPS": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" } }, { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-west-1.amazonaws.com" + "url": "https://mediaconvert.eu-west-2.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-west-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "eu-west-2" } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-west-1.api.aws" + "url": "https://mediaconvert.eu-west-3.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "us-west-1", - "UseFIPS": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-west-1.amazonaws.com" + "url": "https://mediaconvert.ap-south-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-1" } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-west-2.api.aws" + "url": "https://mediaconvert.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-west-2.amazonaws.com" + "url": "https://mediaconvert.ap-southeast-2.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-west-2.api.aws" + "url": "https://mediaconvert.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-west-2.amazonaws.com" + "url": "https://mediaconvert-fips.us-east-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": true, + "Region": "us-east-1" } }, { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.af-south-1.api.aws" + "url": "https://mediaconvert.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "af-south-1", - "UseFIPS": true + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" } }, { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.af-south-1.amazonaws.com" + "url": "https://mediaconvert-fips.us-east-2.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "af-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-2" } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.af-south-1.api.aws" + "url": "https://mediaconvert.eu-central-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "Region": "af-south-1", - "UseFIPS": false + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediaconvert.af-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "af-south-1", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-north-1", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-north-1", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-north-1", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-north-1", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-west-3", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-west-3", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-west-3.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-west-3", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-west-3", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.sa-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "sa-east-1", - "UseFIPS": true - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "sa-east-1", - "UseFIPS": true - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.sa-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "sa-east-1", - "UseFIPS": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.sa-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "sa-east-1", - "UseFIPS": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.us-gov-west-1.api.aws" + "url": "https://mediaconvert-fips.us-east-1.api.aws" } }, "params": { "UseDualStack": true, - "Region": "us-gov-west-1", - "UseFIPS": true - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-gov-west-1.api.aws" + "url": "https://mediaconvert.us-east-1.api.aws" } }, "params": { "UseDualStack": true, - "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -17372,364 +17168,164 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-west-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-southeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": true - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-southeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": 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": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true - } - }, - { - "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": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-west-1" } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-iso-east-1.c2s.ic.gov" + "url": "https://mediaconvert.us-gov-west-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": true, + "Region": "us-gov-west-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-east-1.api.aws" + "url": "https://mediaconvert-fips.us-gov-east-1.api.aws" } }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-east-1.amazonaws.com" + "url": "https://mediaconvert.us-gov-east-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-east-1.api.aws" + "url": "https://mediaconvert.us-gov-east-1.api.aws" } }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-east-1.amazonaws.com" + "url": "https://mediaconvert.us-gov-east-1.amazonaws.com" } }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-east-2.amazonaws.com" + "url": "https://mediaconvert-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": true - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert.us-east-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-east-2.amazonaws.com" + "url": "https://mediaconvert.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": false - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mediaconvert-fips.cn-northwest-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://subscribe.mediaconvert.cn-northwest-1.amazonaws.com.cn" } }, "params": { "UseDualStack": false, - "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": false, + "Region": "cn-northwest-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediaconvert.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://mediaconvert-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "UseDualStack": true, - "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": true, + "Region": "cn-north-1" } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://subscribe.mediaconvert.cn-northwest-1.amazonaws.com.cn" + "url": "https://mediaconvert-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "UseDualStack": false, - "Region": "cn-northwest-1", - "UseFIPS": 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": { - "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mediaconvert-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://mediaconvert.cn-north-1.api.amazonwebservices.com.cn" } }, - "params": { - "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": true - } - }, - { - "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": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mediaconvert.us-isob-east-1.sc2s.sgov.gov" + "url": "https://mediaconvert.cn-north-1.amazonaws.com.cn" } }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -17741,8 +17337,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -17753,8 +17349,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -17765,8 +17361,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } @@ -20987,6 +20583,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#PutPolicyResponse": { @@ -20999,6 +20598,9 @@ "smithy.api#jsonName": "policy" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#Queue": { @@ -21994,11 +21596,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#TeletextDestinationSettings": { "type": "structure", @@ -22432,11 +22040,17 @@ "smithy.api#jsonName": "tagKeys" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.mediaconvert#UpdateJobTemplate": { "type": "operation", @@ -22543,6 +22157,9 @@ "smithy.api#jsonName": "statusUpdateInterval" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#UpdateJobTemplateResponse": { @@ -22555,6 +22172,9 @@ "smithy.api#jsonName": "jobTemplate" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#UpdatePreset": { @@ -22626,6 +22246,9 @@ "smithy.api#jsonName": "settings" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#UpdatePresetResponse": { @@ -22638,6 +22261,9 @@ "smithy.api#jsonName": "preset" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#UpdateQueue": { @@ -22709,6 +22335,9 @@ "smithy.api#jsonName": "status" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.mediaconvert#UpdateQueueResponse": { @@ -22721,6 +22350,9 @@ "smithy.api#jsonName": "queue" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.mediaconvert#Vc3Class": { diff --git a/codegen/sdk-codegen/aws-models/swf.json b/codegen/sdk-codegen/aws-models/swf.json index cd7586a4cd3..9f1ea91eb4e 100644 --- a/codegen/sdk-codegen/aws-models/swf.json +++ b/codegen/sdk-codegen/aws-models/swf.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -58,6 +58,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded in the history.

", "smithy.api#required": {} } @@ -93,6 +94,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -121,6 +123,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -128,6 +131,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -135,6 +139,7 @@ "latestCancelRequestedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } } @@ -155,6 +160,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -162,6 +168,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -189,6 +196,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -196,6 +204,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -268,6 +277,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -295,6 +305,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -310,6 +321,7 @@ "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if cancellation of the task is requested.

", "smithy.api#required": {} } @@ -332,6 +344,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -339,6 +352,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -355,26 +369,32 @@ } }, "com.amazonaws.swf#ActivityTaskTimeoutType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "START_TO_CLOSE", - "name": "START_TO_CLOSE" - }, - { - "value": "SCHEDULE_TO_START", - "name": "SCHEDULE_TO_START" - }, - { - "value": "SCHEDULE_TO_CLOSE", - "name": "SCHEDULE_TO_CLOSE" - }, - { - "value": "HEARTBEAT", - "name": "HEARTBEAT" + "type": "enum", + "members": { + "START_TO_CLOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_TO_CLOSE" + } + }, + "SCHEDULE_TO_START": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULE_TO_START" + } + }, + "SCHEDULE_TO_CLOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULE_TO_CLOSE" + } + }, + "HEARTBEAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEARTBEAT" } - ] + } } }, "com.amazonaws.swf#ActivityType": { @@ -558,18 +578,20 @@ } }, "com.amazonaws.swf#CancelTimerFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TIMER_ID_UNKNOWN", - "name": "TIMER_ID_UNKNOWN" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "TIMER_ID_UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMER_ID_UNKNOWN" } - ] + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#CancelTimerFailedEventAttributes": { @@ -592,6 +614,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -616,18 +639,20 @@ } }, "com.amazonaws.swf#CancelWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNHANDLED_DECISION", - "name": "UNHANDLED_DECISION" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "UNHANDLED_DECISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHANDLED_DECISION" } - ] + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#CancelWorkflowExecutionFailedEventAttributes": { @@ -643,6 +668,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -653,7 +679,10 @@ } }, "com.amazonaws.swf#Canceled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.swf#CauseMessage": { "type": "string", @@ -665,22 +694,26 @@ } }, "com.amazonaws.swf#ChildPolicy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TERMINATE", - "name": "TERMINATE" - }, - { - "value": "REQUEST_CANCEL", - "name": "REQUEST_CANCEL" - }, - { - "value": "ABANDON", - "name": "ABANDON" + "type": "enum", + "members": { + "TERMINATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATE" + } + }, + "REQUEST_CANCEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUEST_CANCEL" } - ] + }, + "ABANDON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABANDON" + } + } } }, "com.amazonaws.swf#ChildWorkflowExecutionCanceledEventAttributes": { @@ -709,6 +742,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -716,6 +750,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -751,6 +786,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -758,6 +794,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -799,6 +836,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -806,6 +844,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -835,6 +874,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -864,6 +904,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -871,6 +912,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -907,6 +949,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -914,6 +957,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -924,34 +968,44 @@ } }, "com.amazonaws.swf#CloseStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "CANCELED", - "name": "CANCELED" - }, - { - "value": "TERMINATED", - "name": "TERMINATED" - }, - { - "value": "CONTINUED_AS_NEW", - "name": "CONTINUED_AS_NEW" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" + "type": "enum", + "members": { + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + }, + "TERMINATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATED" + } + }, + "CONTINUED_AS_NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUED_AS_NEW" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + } } }, "com.amazonaws.swf#CloseStatusFilter": { @@ -984,18 +1038,20 @@ } }, "com.amazonaws.swf#CompleteWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNHANDLED_DECISION", - "name": "UNHANDLED_DECISION" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "UNHANDLED_DECISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHANDLED_DECISION" } - ] + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#CompleteWorkflowExecutionFailedEventAttributes": { @@ -1011,6 +1067,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1083,46 +1140,62 @@ } }, "com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNHANDLED_DECISION", - "name": "UNHANDLED_DECISION" - }, - { - "value": "WORKFLOW_TYPE_DEPRECATED", - "name": "WORKFLOW_TYPE_DEPRECATED" - }, - { - "value": "WORKFLOW_TYPE_DOES_NOT_EXIST", - "name": "WORKFLOW_TYPE_DOES_NOT_EXIST" - }, - { - "value": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED", - "name": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED", - "name": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_TASK_LIST_UNDEFINED", - "name": "DEFAULT_TASK_LIST_UNDEFINED" - }, - { - "value": "DEFAULT_CHILD_POLICY_UNDEFINED", - "name": "DEFAULT_CHILD_POLICY_UNDEFINED" - }, - { - "value": "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED", - "name": "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "UNHANDLED_DECISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHANDLED_DECISION" + } + }, + "WORKFLOW_TYPE_DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKFLOW_TYPE_DEPRECATED" + } + }, + "WORKFLOW_TYPE_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKFLOW_TYPE_DOES_NOT_EXIST" + } + }, + "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" + } + }, + "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" + } + }, + "DEFAULT_TASK_LIST_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_TASK_LIST_UNDEFINED" + } + }, + "DEFAULT_CHILD_POLICY_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_CHILD_POLICY_UNDEFINED" } - ] + }, + "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" + } + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#ContinueAsNewWorkflowExecutionFailedEventAttributes": { @@ -1138,6 +1211,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1150,6 +1224,7 @@ "com.amazonaws.swf#Count": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1221,6 +1296,9 @@ "smithy.api#documentation": "

If specified, only workflow executions that match this close status are counted. This\n filter has an affect only if executionStatus is specified as\n CLOSED.

\n \n

\n closeStatusFilter, executionFilter, typeFilter and\n tagFilter are mutually exclusive. You can specify at most one of these in a\n request.

\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#CountOpenWorkflowExecutions": { @@ -1278,6 +1356,9 @@ "smithy.api#documentation": "

If specified, only workflow executions matching the WorkflowId in the\n filter are counted.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#CountPendingActivityTasks": { @@ -1317,6 +1398,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#CountPendingDecisionTasks": { @@ -1356,6 +1440,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#Data": { @@ -1479,6 +1566,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded in the history.

", "smithy.api#required": {} } @@ -1513,6 +1601,7 @@ "previousStartedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

" } } @@ -1533,6 +1622,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1540,6 +1630,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded when this decision task was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1588,6 +1679,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1610,6 +1702,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1617,6 +1710,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded when this decision task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -1627,73 +1721,97 @@ } }, "com.amazonaws.swf#DecisionTaskTimeoutType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "START_TO_CLOSE", - "name": "START_TO_CLOSE" + "type": "enum", + "members": { + "START_TO_CLOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_TO_CLOSE" } - ] + } } }, "com.amazonaws.swf#DecisionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ScheduleActivityTask", - "name": "ScheduleActivityTask" - }, - { - "value": "RequestCancelActivityTask", - "name": "RequestCancelActivityTask" - }, - { - "value": "CompleteWorkflowExecution", - "name": "CompleteWorkflowExecution" - }, - { - "value": "FailWorkflowExecution", - "name": "FailWorkflowExecution" - }, - { - "value": "CancelWorkflowExecution", - "name": "CancelWorkflowExecution" - }, - { - "value": "ContinueAsNewWorkflowExecution", - "name": "ContinueAsNewWorkflowExecution" - }, - { - "value": "RecordMarker", - "name": "RecordMarker" - }, - { - "value": "StartTimer", - "name": "StartTimer" - }, - { - "value": "CancelTimer", - "name": "CancelTimer" - }, - { - "value": "SignalExternalWorkflowExecution", - "name": "SignalExternalWorkflowExecution" - }, - { - "value": "RequestCancelExternalWorkflowExecution", - "name": "RequestCancelExternalWorkflowExecution" - }, - { - "value": "StartChildWorkflowExecution", - "name": "StartChildWorkflowExecution" - }, - { - "value": "ScheduleLambdaFunction", - "name": "ScheduleLambdaFunction" + "type": "enum", + "members": { + "ScheduleActivityTask": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScheduleActivityTask" + } + }, + "RequestCancelActivityTask": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestCancelActivityTask" + } + }, + "CompleteWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CompleteWorkflowExecution" + } + }, + "FailWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FailWorkflowExecution" + } + }, + "CancelWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CancelWorkflowExecution" + } + }, + "ContinueAsNewWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ContinueAsNewWorkflowExecution" + } + }, + "RecordMarker": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecordMarker" + } + }, + "StartTimer": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartTimer" + } + }, + "CancelTimer": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CancelTimer" + } + }, + "SignalExternalWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SignalExternalWorkflowExecution" + } + }, + "RequestCancelExternalWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestCancelExternalWorkflowExecution" + } + }, + "StartChildWorkflowExecution": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartChildWorkflowExecution" + } + }, + "ScheduleLambdaFunction": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScheduleLambdaFunction" } - ] + } } }, "com.amazonaws.swf#DefaultUndefinedFault": { @@ -1713,6 +1831,9 @@ "input": { "target": "com.amazonaws.swf#DeprecateActivityTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -1745,6 +1866,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#DeprecateDomain": { @@ -1752,6 +1876,9 @@ "input": { "target": "com.amazonaws.swf#DeprecateDomainInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#DomainDeprecatedFault" @@ -1777,6 +1904,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#DeprecateWorkflowType": { @@ -1784,6 +1914,9 @@ "input": { "target": "com.amazonaws.swf#DeprecateWorkflowTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -1816,6 +1949,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#DescribeActivityType": { @@ -1855,6 +1991,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#DescribeDomain": { @@ -1887,6 +2026,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#DescribeWorkflowExecution": { @@ -1926,6 +2068,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#DescribeWorkflowType": { @@ -1965,6 +2110,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#Description": { @@ -2144,244 +2292,355 @@ "type": "string" }, "com.amazonaws.swf#EventId": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.swf#EventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WorkflowExecutionStarted", - "name": "WorkflowExecutionStarted" - }, - { - "value": "WorkflowExecutionCancelRequested", - "name": "WorkflowExecutionCancelRequested" - }, - { - "value": "WorkflowExecutionCompleted", - "name": "WorkflowExecutionCompleted" - }, - { - "value": "CompleteWorkflowExecutionFailed", - "name": "CompleteWorkflowExecutionFailed" - }, - { - "value": "WorkflowExecutionFailed", - "name": "WorkflowExecutionFailed" - }, - { - "value": "FailWorkflowExecutionFailed", - "name": "FailWorkflowExecutionFailed" - }, - { - "value": "WorkflowExecutionTimedOut", - "name": "WorkflowExecutionTimedOut" - }, - { - "value": "WorkflowExecutionCanceled", - "name": "WorkflowExecutionCanceled" - }, - { - "value": "CancelWorkflowExecutionFailed", - "name": "CancelWorkflowExecutionFailed" - }, - { - "value": "WorkflowExecutionContinuedAsNew", - "name": "WorkflowExecutionContinuedAsNew" - }, - { - "value": "ContinueAsNewWorkflowExecutionFailed", - "name": "ContinueAsNewWorkflowExecutionFailed" - }, - { - "value": "WorkflowExecutionTerminated", - "name": "WorkflowExecutionTerminated" - }, - { - "value": "DecisionTaskScheduled", - "name": "DecisionTaskScheduled" - }, - { - "value": "DecisionTaskStarted", - "name": "DecisionTaskStarted" - }, - { - "value": "DecisionTaskCompleted", - "name": "DecisionTaskCompleted" - }, - { - "value": "DecisionTaskTimedOut", - "name": "DecisionTaskTimedOut" - }, - { - "value": "ActivityTaskScheduled", - "name": "ActivityTaskScheduled" - }, - { - "value": "ScheduleActivityTaskFailed", - "name": "ScheduleActivityTaskFailed" - }, - { - "value": "ActivityTaskStarted", - "name": "ActivityTaskStarted" - }, - { - "value": "ActivityTaskCompleted", - "name": "ActivityTaskCompleted" - }, - { - "value": "ActivityTaskFailed", - "name": "ActivityTaskFailed" - }, - { - "value": "ActivityTaskTimedOut", - "name": "ActivityTaskTimedOut" - }, - { - "value": "ActivityTaskCanceled", - "name": "ActivityTaskCanceled" - }, - { - "value": "ActivityTaskCancelRequested", - "name": "ActivityTaskCancelRequested" - }, - { - "value": "RequestCancelActivityTaskFailed", - "name": "RequestCancelActivityTaskFailed" - }, - { - "value": "WorkflowExecutionSignaled", - "name": "WorkflowExecutionSignaled" - }, - { - "value": "MarkerRecorded", - "name": "MarkerRecorded" - }, - { - "value": "RecordMarkerFailed", - "name": "RecordMarkerFailed" - }, - { - "value": "TimerStarted", - "name": "TimerStarted" - }, - { - "value": "StartTimerFailed", - "name": "StartTimerFailed" - }, - { - "value": "TimerFired", - "name": "TimerFired" - }, - { - "value": "TimerCanceled", - "name": "TimerCanceled" - }, - { - "value": "CancelTimerFailed", - "name": "CancelTimerFailed" - }, - { - "value": "StartChildWorkflowExecutionInitiated", - "name": "StartChildWorkflowExecutionInitiated" - }, - { - "value": "StartChildWorkflowExecutionFailed", - "name": "StartChildWorkflowExecutionFailed" - }, - { - "value": "ChildWorkflowExecutionStarted", - "name": "ChildWorkflowExecutionStarted" - }, - { - "value": "ChildWorkflowExecutionCompleted", - "name": "ChildWorkflowExecutionCompleted" - }, - { - "value": "ChildWorkflowExecutionFailed", - "name": "ChildWorkflowExecutionFailed" - }, - { - "value": "ChildWorkflowExecutionTimedOut", - "name": "ChildWorkflowExecutionTimedOut" - }, - { - "value": "ChildWorkflowExecutionCanceled", - "name": "ChildWorkflowExecutionCanceled" - }, - { - "value": "ChildWorkflowExecutionTerminated", - "name": "ChildWorkflowExecutionTerminated" - }, - { - "value": "SignalExternalWorkflowExecutionInitiated", - "name": "SignalExternalWorkflowExecutionInitiated" - }, - { - "value": "SignalExternalWorkflowExecutionFailed", - "name": "SignalExternalWorkflowExecutionFailed" - }, - { - "value": "ExternalWorkflowExecutionSignaled", - "name": "ExternalWorkflowExecutionSignaled" - }, - { - "value": "RequestCancelExternalWorkflowExecutionInitiated", - "name": "RequestCancelExternalWorkflowExecutionInitiated" - }, - { - "value": "RequestCancelExternalWorkflowExecutionFailed", - "name": "RequestCancelExternalWorkflowExecutionFailed" - }, - { - "value": "ExternalWorkflowExecutionCancelRequested", - "name": "ExternalWorkflowExecutionCancelRequested" - }, - { - "value": "LambdaFunctionScheduled", - "name": "LambdaFunctionScheduled" - }, - { - "value": "LambdaFunctionStarted", - "name": "LambdaFunctionStarted" - }, - { - "value": "LambdaFunctionCompleted", - "name": "LambdaFunctionCompleted" - }, - { - "value": "LambdaFunctionFailed", - "name": "LambdaFunctionFailed" - }, - { - "value": "LambdaFunctionTimedOut", - "name": "LambdaFunctionTimedOut" - }, - { - "value": "ScheduleLambdaFunctionFailed", - "name": "ScheduleLambdaFunctionFailed" - }, - { - "value": "StartLambdaFunctionFailed", - "name": "StartLambdaFunctionFailed" + "type": "enum", + "members": { + "WorkflowExecutionStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionStarted" + } + }, + "WorkflowExecutionCancelRequested": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionCancelRequested" + } + }, + "WorkflowExecutionCompleted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionCompleted" + } + }, + "CompleteWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CompleteWorkflowExecutionFailed" + } + }, + "WorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionFailed" + } + }, + "FailWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FailWorkflowExecutionFailed" + } + }, + "WorkflowExecutionTimedOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionTimedOut" + } + }, + "WorkflowExecutionCanceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionCanceled" + } + }, + "CancelWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CancelWorkflowExecutionFailed" + } + }, + "WorkflowExecutionContinuedAsNew": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionContinuedAsNew" + } + }, + "ContinueAsNewWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ContinueAsNewWorkflowExecutionFailed" + } + }, + "WorkflowExecutionTerminated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionTerminated" + } + }, + "DecisionTaskScheduled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DecisionTaskScheduled" + } + }, + "DecisionTaskStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DecisionTaskStarted" + } + }, + "DecisionTaskCompleted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DecisionTaskCompleted" + } + }, + "DecisionTaskTimedOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DecisionTaskTimedOut" + } + }, + "ActivityTaskScheduled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskScheduled" + } + }, + "ScheduleActivityTaskFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScheduleActivityTaskFailed" + } + }, + "ActivityTaskStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskStarted" + } + }, + "ActivityTaskCompleted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskCompleted" + } + }, + "ActivityTaskFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskFailed" + } + }, + "ActivityTaskTimedOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskTimedOut" + } + }, + "ActivityTaskCanceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskCanceled" + } + }, + "ActivityTaskCancelRequested": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ActivityTaskCancelRequested" + } + }, + "RequestCancelActivityTaskFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestCancelActivityTaskFailed" + } + }, + "WorkflowExecutionSignaled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WorkflowExecutionSignaled" + } + }, + "MarkerRecorded": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MarkerRecorded" + } + }, + "RecordMarkerFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecordMarkerFailed" + } + }, + "TimerStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimerStarted" + } + }, + "StartTimerFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartTimerFailed" + } + }, + "TimerFired": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimerFired" + } + }, + "TimerCanceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimerCanceled" + } + }, + "CancelTimerFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CancelTimerFailed" } - ] + }, + "StartChildWorkflowExecutionInitiated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartChildWorkflowExecutionInitiated" + } + }, + "StartChildWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartChildWorkflowExecutionFailed" + } + }, + "ChildWorkflowExecutionStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChildWorkflowExecutionStarted" + } + }, + "ChildWorkflowExecutionCompleted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChildWorkflowExecutionCompleted" + } + }, + "ChildWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChildWorkflowExecutionFailed" + } + }, + "ChildWorkflowExecutionTimedOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChildWorkflowExecutionTimedOut" + } + }, + "ChildWorkflowExecutionCanceled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChildWorkflowExecutionCanceled" + } + }, + "ChildWorkflowExecutionTerminated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ChildWorkflowExecutionTerminated" + } + }, + "SignalExternalWorkflowExecutionInitiated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SignalExternalWorkflowExecutionInitiated" + } + }, + "SignalExternalWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SignalExternalWorkflowExecutionFailed" + } + }, + "ExternalWorkflowExecutionSignaled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ExternalWorkflowExecutionSignaled" + } + }, + "RequestCancelExternalWorkflowExecutionInitiated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestCancelExternalWorkflowExecutionInitiated" + } + }, + "RequestCancelExternalWorkflowExecutionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RequestCancelExternalWorkflowExecutionFailed" + } + }, + "ExternalWorkflowExecutionCancelRequested": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ExternalWorkflowExecutionCancelRequested" + } + }, + "LambdaFunctionScheduled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaFunctionScheduled" + } + }, + "LambdaFunctionStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaFunctionStarted" + } + }, + "LambdaFunctionCompleted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaFunctionCompleted" + } + }, + "LambdaFunctionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaFunctionFailed" + } + }, + "LambdaFunctionTimedOut": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaFunctionTimedOut" + } + }, + "ScheduleLambdaFunctionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScheduleLambdaFunctionFailed" + } + }, + "StartLambdaFunctionFailed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartLambdaFunctionFailed" + } + } } }, "com.amazonaws.swf#ExecutionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OPEN", - "name": "OPEN" - }, - { - "value": "CLOSED", - "name": "CLOSED" + "type": "enum", + "members": { + "OPEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN" + } + }, + "CLOSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED" } - ] + } } }, "com.amazonaws.swf#ExecutionTimeFilter": { @@ -2418,6 +2677,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -2440,6 +2700,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -2470,18 +2731,20 @@ } }, "com.amazonaws.swf#FailWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNHANDLED_DECISION", - "name": "UNHANDLED_DECISION" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "UNHANDLED_DECISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHANDLED_DECISION" + } + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" } - ] + } } }, "com.amazonaws.swf#FailWorkflowExecutionFailedEventAttributes": { @@ -2497,6 +2760,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -2594,15 +2858,20 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimeStamp of the\n events.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#History": { @@ -2646,6 +2915,7 @@ "eventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.

", "smithy.api#required": {} } @@ -3000,6 +3270,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3007,6 +3278,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3028,6 +3300,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3035,6 +3308,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3094,6 +3368,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3109,6 +3384,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3124,6 +3400,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3131,6 +3408,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event that was recorded when this\n activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3147,14 +3425,14 @@ } }, "com.amazonaws.swf#LambdaFunctionTimeoutType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "START_TO_CLOSE", - "name": "START_TO_CLOSE" + "type": "enum", + "members": { + "START_TO_CLOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_TO_CLOSE" } - ] + } } }, "com.amazonaws.swf#LimitExceededFault": { @@ -3239,15 +3517,20 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the activity\n types.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#ListClosedWorkflowExecutions": { @@ -3331,15 +3614,20 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start or the close time of the\n executions.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#ListDomains": { @@ -3384,15 +3672,20 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the\n domains.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#ListOpenWorkflowExecutions": { @@ -3459,12 +3752,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start time of the executions.

" } }, @@ -3474,6 +3769,9 @@ "smithy.api#documentation": "

If specified, only workflow executions matching the workflow ID specified in the filter\n are returned.

\n \n

\n executionFilter, typeFilter and tagFilter are\n mutually exclusive. You can specify at most one of these in a request.

\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#ListTagsForResource": { @@ -3509,6 +3807,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#ListTagsForResourceOutput": { @@ -3520,6 +3821,9 @@ "smithy.api#documentation": "

An array of tags associated with the domain.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.swf#ListWorkflowTypes": { @@ -3580,15 +3884,20 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in ascending alphabetical order of the name of the workflow\n types.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#MarkerName": { @@ -3619,6 +3928,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -3640,6 +3950,7 @@ "com.amazonaws.swf#OpenDecisionTasksCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -3664,6 +3975,7 @@ "com.amazonaws.swf#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -3685,6 +3997,7 @@ "count": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tasks in the task list.

", "smithy.api#required": {} } @@ -3692,6 +4005,7 @@ "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } } @@ -3746,6 +4060,9 @@ "smithy.api#documentation": "

Identity of the worker making the request, recorded in the\n ActivityTaskStarted event in the workflow history. This enables diagnostic\n tracing when problems arise. The form of this identity is user defined.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#PollForDecisionTask": { @@ -3809,15 +4126,20 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

\n

This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimestamp of the\n events.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RecordActivityTaskHeartbeat": { @@ -3856,6 +4178,9 @@ "smithy.api#documentation": "

If specified, contains details about the progress of the task.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RecordMarkerDecisionAttributes": { @@ -3880,14 +4205,14 @@ } }, "com.amazonaws.swf#RecordMarkerFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" } - ] + } } }, "com.amazonaws.swf#RecordMarkerFailedEventAttributes": { @@ -3910,6 +4235,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -3924,6 +4250,9 @@ "input": { "target": "com.amazonaws.swf#RegisterActivityTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -4008,6 +4337,9 @@ "smithy.api#documentation": "

If set, specifies the default maximum duration for a task of this activity type. This\n default can be overridden when scheduling an activity task using the\n ScheduleActivityTask\n Decision.

\n

The duration is specified in seconds, an integer greater than or equal to\n 0. You can use NONE to specify unlimited duration.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RegisterDomain": { @@ -4015,6 +4347,9 @@ "input": { "target": "com.amazonaws.swf#RegisterDomainInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#DomainAlreadyExistsFault" @@ -4062,6 +4397,9 @@ "smithy.api#documentation": "

Tags to be added when registering a domain.

\n

Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RegisterWorkflowType": { @@ -4069,6 +4407,9 @@ "input": { "target": "com.amazonaws.swf#RegisterWorkflowTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -4153,21 +4494,26 @@ "smithy.api#documentation": "

The default IAM role attached to this workflow type.

\n \n

Executions of this workflow type need IAM roles to invoke Lambda functions. If you\n don't specify an IAM role when you start this workflow type, the default Lambda role is\n attached to the execution. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.

\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RegistrationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REGISTERED", - "name": "REGISTERED" - }, - { - "value": "DEPRECATED", - "name": "DEPRECATED" + "type": "enum", + "members": { + "REGISTERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REGISTERED" + } + }, + "DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPRECATED" } - ] + } } }, "com.amazonaws.swf#RequestCancelActivityTaskDecisionAttributes": { @@ -4186,18 +4532,20 @@ } }, "com.amazonaws.swf#RequestCancelActivityTaskFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVITY_ID_UNKNOWN", - "name": "ACTIVITY_ID_UNKNOWN" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "ACTIVITY_ID_UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_ID_UNKNOWN" } - ] + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#RequestCancelActivityTaskFailedEventAttributes": { @@ -4220,6 +4568,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4257,22 +4606,26 @@ } }, "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", - "name": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" - }, - { - "value": "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED", - "name": "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" + } + }, + "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" + } + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" } - ] + } } }, "com.amazonaws.swf#RequestCancelExternalWorkflowExecutionFailedEventAttributes": { @@ -4301,6 +4654,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -4308,6 +4662,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4342,6 +4697,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4362,6 +4718,9 @@ "input": { "target": "com.amazonaws.swf#RequestCancelWorkflowExecutionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4397,6 +4756,9 @@ "smithy.api#documentation": "

The runId of the workflow execution to cancel.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#ResourceTag": { @@ -4455,6 +4817,9 @@ "input": { "target": "com.amazonaws.swf#RespondActivityTaskCanceledInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4483,6 +4848,9 @@ "smithy.api#documentation": "

Information about the cancellation.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RespondActivityTaskCompleted": { @@ -4490,6 +4858,9 @@ "input": { "target": "com.amazonaws.swf#RespondActivityTaskCompletedInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4518,6 +4889,9 @@ "smithy.api#documentation": "

The result of the activity task. It is a free form string that is implementation\n specific.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RespondActivityTaskFailed": { @@ -4525,6 +4899,9 @@ "input": { "target": "com.amazonaws.swf#RespondActivityTaskFailedInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4559,6 +4936,9 @@ "smithy.api#documentation": "

Detailed information about the failure.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#RespondDecisionTaskCompleted": { @@ -4566,6 +4946,9 @@ "input": { "target": "com.amazonaws.swf#RespondDecisionTaskCompletedInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4602,11 +4985,15 @@ } }, "traits": { - "smithy.api#documentation": "

Input data for a TaskCompleted response to a decision task.

" + "smithy.api#documentation": "

Input data for a TaskCompleted response to a decision task.

", + "smithy.api#input": {} } }, "com.amazonaws.swf#ReverseOrder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.swf#Run": { "type": "structure", @@ -4693,54 +5080,74 @@ } }, "com.amazonaws.swf#ScheduleActivityTaskFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVITY_TYPE_DEPRECATED", - "name": "ACTIVITY_TYPE_DEPRECATED" - }, - { - "value": "ACTIVITY_TYPE_DOES_NOT_EXIST", - "name": "ACTIVITY_TYPE_DOES_NOT_EXIST" - }, - { - "value": "ACTIVITY_ID_ALREADY_IN_USE", - "name": "ACTIVITY_ID_ALREADY_IN_USE" - }, - { - "value": "OPEN_ACTIVITIES_LIMIT_EXCEEDED", - "name": "OPEN_ACTIVITIES_LIMIT_EXCEEDED" - }, - { - "value": "ACTIVITY_CREATION_RATE_EXCEEDED", - "name": "ACTIVITY_CREATION_RATE_EXCEEDED" - }, - { - "value": "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED", - "name": "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_TASK_LIST_UNDEFINED", - "name": "DEFAULT_TASK_LIST_UNDEFINED" - }, - { - "value": "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED", - "name": "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED", - "name": "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED", - "name": "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "ACTIVITY_TYPE_DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_TYPE_DEPRECATED" + } + }, + "ACTIVITY_TYPE_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_TYPE_DOES_NOT_EXIST" + } + }, + "ACTIVITY_ID_ALREADY_IN_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_ID_ALREADY_IN_USE" + } + }, + "OPEN_ACTIVITIES_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN_ACTIVITIES_LIMIT_EXCEEDED" + } + }, + "ACTIVITY_CREATION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVITY_CREATION_RATE_EXCEEDED" + } + }, + "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" + } + }, + "DEFAULT_TASK_LIST_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_TASK_LIST_UNDEFINED" + } + }, + "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" + } + }, + "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" + } + }, + "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" + } + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" } - ] + } } }, "com.amazonaws.swf#ScheduleActivityTaskFailedEventAttributes": { @@ -4770,6 +5177,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the\n scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4820,26 +5228,32 @@ } }, "com.amazonaws.swf#ScheduleLambdaFunctionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ID_ALREADY_IN_USE", - "name": "ID_ALREADY_IN_USE" - }, - { - "value": "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED", - "name": "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" - }, - { - "value": "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED", - "name": "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" - }, - { - "value": "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION", - "name": "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" + "type": "enum", + "members": { + "ID_ALREADY_IN_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ID_ALREADY_IN_USE" + } + }, + "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" } - ] + }, + "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" + } + }, + "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" + } + } } }, "com.amazonaws.swf#ScheduleLambdaFunctionFailedEventAttributes": { @@ -4869,6 +5283,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -4919,22 +5334,26 @@ } }, "com.amazonaws.swf#SignalExternalWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", - "name": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" - }, - { - "value": "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED", - "name": "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" + } + }, + "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" } - ] + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#SignalExternalWorkflowExecutionFailedEventAttributes": { @@ -4963,6 +5382,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4970,6 +5390,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5017,6 +5438,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5046,6 +5468,9 @@ "input": { "target": "com.amazonaws.swf#SignalWorkflowExecutionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -5094,6 +5519,9 @@ "smithy.api#documentation": "

Data to attach to the WorkflowExecutionSignaled event in the target\n workflow execution's history.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#SimpleWorkflowService": { @@ -5228,6 +5656,1008 @@ "smithy.api#title": "Amazon Simple Workflow Service", "smithy.api#xmlNamespace": { "uri": "http://swf.amazonaws.com/doc/2012-01-25" + }, + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "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" + } + ] + } + ], + "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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://swf-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://swf.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://swf-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": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://swf.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-east-1" + ] + } + ], + "endpoint": { + "url": "https://swf.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-gov-west-1" + ] + } + ], + "endpoint": { + "url": "https://swf.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://swf.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-iso-west-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-3" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.me-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "me-south-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "sa-east-1" + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-east-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-3" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.af-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-west-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf.us-gov-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-gov-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-northwest-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://swf-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://swf.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "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": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "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": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" } } }, @@ -5308,54 +6738,74 @@ } }, "com.amazonaws.swf#StartChildWorkflowExecutionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WORKFLOW_TYPE_DOES_NOT_EXIST", - "name": "WORKFLOW_TYPE_DOES_NOT_EXIST" - }, - { - "value": "WORKFLOW_TYPE_DEPRECATED", - "name": "WORKFLOW_TYPE_DEPRECATED" - }, - { - "value": "OPEN_CHILDREN_LIMIT_EXCEEDED", - "name": "OPEN_CHILDREN_LIMIT_EXCEEDED" - }, - { - "value": "OPEN_WORKFLOWS_LIMIT_EXCEEDED", - "name": "OPEN_WORKFLOWS_LIMIT_EXCEEDED" - }, - { - "value": "CHILD_CREATION_RATE_EXCEEDED", - "name": "CHILD_CREATION_RATE_EXCEEDED" - }, - { - "value": "WORKFLOW_ALREADY_RUNNING", - "name": "WORKFLOW_ALREADY_RUNNING" - }, - { - "value": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED", - "name": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_TASK_LIST_UNDEFINED", - "name": "DEFAULT_TASK_LIST_UNDEFINED" - }, - { - "value": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED", - "name": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" - }, - { - "value": "DEFAULT_CHILD_POLICY_UNDEFINED", - "name": "DEFAULT_CHILD_POLICY_UNDEFINED" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "WORKFLOW_TYPE_DOES_NOT_EXIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKFLOW_TYPE_DOES_NOT_EXIST" + } + }, + "WORKFLOW_TYPE_DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKFLOW_TYPE_DEPRECATED" + } + }, + "OPEN_CHILDREN_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN_CHILDREN_LIMIT_EXCEEDED" + } + }, + "OPEN_WORKFLOWS_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN_WORKFLOWS_LIMIT_EXCEEDED" + } + }, + "CHILD_CREATION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHILD_CREATION_RATE_EXCEEDED" + } + }, + "WORKFLOW_ALREADY_RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKFLOW_ALREADY_RUNNING" + } + }, + "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" + } + }, + "DEFAULT_TASK_LIST_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_TASK_LIST_UNDEFINED" + } + }, + "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" } - ] + }, + "DEFAULT_CHILD_POLICY_UNDEFINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_CHILD_POLICY_UNDEFINED" + } + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" + } + } } }, "com.amazonaws.swf#StartChildWorkflowExecutionFailedEventAttributes": { @@ -5385,6 +6835,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated\n event that corresponds to the StartChildWorkflowExecution \n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.

\n

When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the \n StartChildWorkflowExecutionInitiated event doesn't exist.

", "smithy.api#required": {} } @@ -5392,6 +6843,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution \n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

", "smithy.api#required": {} } @@ -5458,6 +6910,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution \n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.

", "smithy.api#required": {} } @@ -5493,14 +6946,14 @@ } }, "com.amazonaws.swf#StartLambdaFunctionFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASSUME_ROLE_FAILED", - "name": "ASSUME_ROLE_FAILED" + "type": "enum", + "members": { + "ASSUME_ROLE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASSUME_ROLE_FAILED" } - ] + } } }, "com.amazonaws.swf#StartLambdaFunctionFailedEventAttributes": { @@ -5509,6 +6962,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" } }, @@ -5558,26 +7012,32 @@ } }, "com.amazonaws.swf#StartTimerFailedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TIMER_ID_ALREADY_IN_USE", - "name": "TIMER_ID_ALREADY_IN_USE" - }, - { - "value": "OPEN_TIMERS_LIMIT_EXCEEDED", - "name": "OPEN_TIMERS_LIMIT_EXCEEDED" - }, - { - "value": "TIMER_CREATION_RATE_EXCEEDED", - "name": "TIMER_CREATION_RATE_EXCEEDED" - }, - { - "value": "OPERATION_NOT_PERMITTED", - "name": "OPERATION_NOT_PERMITTED" + "type": "enum", + "members": { + "TIMER_ID_ALREADY_IN_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMER_ID_ALREADY_IN_USE" + } + }, + "OPEN_TIMERS_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPEN_TIMERS_LIMIT_EXCEEDED" + } + }, + "TIMER_CREATION_RATE_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMER_CREATION_RATE_EXCEEDED" + } + }, + "OPERATION_NOT_PERMITTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATION_NOT_PERMITTED" } - ] + } } }, "com.amazonaws.swf#StartTimerFailedEventAttributes": { @@ -5600,6 +7060,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5713,6 +7174,9 @@ "smithy.api#documentation": "

The IAM role to attach to this workflow execution.

\n \n

Executions of this workflow type need IAM roles to invoke Lambda functions. If you\n don't attach an IAM role, any attempt to schedule a Lambda task fails. This results in a\n ScheduleLambdaFunctionFailed history event. For more information, see https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html in the\n Amazon SWF Developer Guide.

\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#Tag": { @@ -5756,6 +7220,9 @@ "input": { "target": "com.amazonaws.swf#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -5791,6 +7258,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#TaskList": { @@ -5834,6 +7304,9 @@ "input": { "target": "com.amazonaws.swf#TerminateWorkflowExecutionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -5887,6 +7360,9 @@ "smithy.api#documentation": "

If set, specifies the policy to use for the child workflow executions of the workflow\n execution being terminated. This policy overrides the child policy specified for the workflow\n execution at registration time or when starting the execution.

\n

The supported child policies are:

\n \n \n

A child policy for this workflow execution must be specified either as a default for\n the workflow type or through this parameter. If neither this parameter is set nor a default\n child policy was specified at registration time then a fault is returned.

\n
" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#TimerCanceledEventAttributes": { @@ -5902,6 +7378,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5909,6 +7386,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5931,6 +7409,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5975,6 +7454,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6001,7 +7481,10 @@ } }, "com.amazonaws.swf#Truncated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.swf#TypeAlreadyExistsFault": { "type": "structure", @@ -6038,6 +7521,9 @@ "input": { "target": "com.amazonaws.swf#UndeprecateActivityTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -6070,6 +7556,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#UndeprecateDomain": { @@ -6077,6 +7566,9 @@ "input": { "target": "com.amazonaws.swf#UndeprecateDomainInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#DomainAlreadyExistsFault" @@ -6102,6 +7594,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#UndeprecateWorkflowType": { @@ -6109,6 +7604,9 @@ "input": { "target": "com.amazonaws.swf#UndeprecateWorkflowTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -6141,6 +7639,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#UnknownResourceFault": { @@ -6163,6 +7664,9 @@ "input": { "target": "com.amazonaws.swf#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -6195,6 +7699,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.swf#Version": { @@ -6253,14 +7760,14 @@ } }, "com.amazonaws.swf#WorkflowExecutionCancelRequestedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHILD_POLICY_APPLIED", - "name": "CHILD_POLICY_APPLIED" + "type": "enum", + "members": { + "CHILD_POLICY_APPLIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHILD_POLICY_APPLIED" } - ] + } } }, "com.amazonaws.swf#WorkflowExecutionCancelRequestedEventAttributes": { @@ -6275,6 +7782,7 @@ "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event\n with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

" } }, @@ -6301,6 +7809,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6322,6 +7831,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6391,6 +7901,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6464,6 +7975,7 @@ "count": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of workflow executions.

", "smithy.api#required": {} } @@ -6471,6 +7983,7 @@ "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } } @@ -6538,6 +8051,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6620,6 +8134,7 @@ "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if a cancellation is requested for this workflow execution.

" } } @@ -6661,6 +8176,7 @@ "openActivityTasks": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of activity tasks whose status is OPEN.

", "smithy.api#required": {} } @@ -6668,6 +8184,7 @@ "openDecisionTasks": { "target": "com.amazonaws.swf#OpenDecisionTasksCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

", "smithy.api#required": {} } @@ -6675,6 +8192,7 @@ "openTimers": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of timers started by this workflow execution that have not fired yet.

", "smithy.api#required": {} } @@ -6682,6 +8200,7 @@ "openChildWorkflowExecutions": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of child workflow executions whose status is OPEN.

", "smithy.api#required": {} } @@ -6689,6 +8208,7 @@ "openLambdaFunctions": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of Lambda tasks whose status is OPEN.

" } } @@ -6722,6 +8242,7 @@ "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can\n be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event. This field is set only if\n the signal was initiated by another workflow execution.

" } } @@ -6799,6 +8320,7 @@ "parentInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this workflow execution. The source event with\n this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

" } }, @@ -6814,22 +8336,26 @@ } }, "com.amazonaws.swf#WorkflowExecutionTerminatedCause": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHILD_POLICY_APPLIED", - "name": "CHILD_POLICY_APPLIED" - }, - { - "value": "EVENT_LIMIT_EXCEEDED", - "name": "EVENT_LIMIT_EXCEEDED" - }, - { - "value": "OPERATOR_INITIATED", - "name": "OPERATOR_INITIATED" + "type": "enum", + "members": { + "CHILD_POLICY_APPLIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHILD_POLICY_APPLIED" + } + }, + "EVENT_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT_LIMIT_EXCEEDED" + } + }, + "OPERATOR_INITIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATOR_INITIATED" } - ] + } } }, "com.amazonaws.swf#WorkflowExecutionTerminatedEventAttributes": { @@ -6888,14 +8414,14 @@ } }, "com.amazonaws.swf#WorkflowExecutionTimeoutType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "START_TO_CLOSE", - "name": "START_TO_CLOSE" + "type": "enum", + "members": { + "START_TO_CLOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "START_TO_CLOSE" } - ] + } } }, "com.amazonaws.swf#WorkflowId": {