diff --git a/codegen/sdk-codegen/aws-models/appsync.json b/codegen/sdk-codegen/aws-models/appsync.json index 2bdb6a5ed48..cc9d41f4cae 100644 --- a/codegen/sdk-codegen/aws-models/appsync.json +++ b/codegen/sdk-codegen/aws-models/appsync.json @@ -199,7 +199,7 @@ "name": "appsync" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AppSync provides API actions for creating and interacting with data sources using GraphQL\n from your application.

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

AppSync provides API actions for creating and interacting with data\n sources using GraphQL from your application.

", "smithy.api#title": "AWS AppSync", "smithy.api#xmlNamespace": { "uri": "http://appsync.amazonaws.com" @@ -565,8 +565,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -578,8 +578,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -591,8 +591,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -604,8 +604,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -617,8 +617,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -630,8 +630,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -643,8 +643,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -656,8 +656,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -669,8 +669,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -682,8 +682,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -695,8 +695,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -708,8 +708,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -721,8 +721,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -734,8 +734,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -747,8 +747,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -760,8 +760,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -773,8 +773,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -786,8 +786,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -799,8 +799,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -812,8 +812,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -825,8 +825,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -838,8 +838,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -851,8 +851,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -864,8 +864,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -877,8 +877,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -890,8 +890,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -903,8 +903,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -916,8 +916,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -929,8 +929,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -942,8 +942,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -955,8 +955,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -968,8 +968,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -981,8 +992,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -994,8 +1016,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1007,8 +1040,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1020,8 +1064,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1033,8 +1077,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1046,8 +1090,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1058,8 +1102,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1070,10 +1114,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -1099,7 +1149,7 @@ "authenticationType": { "target": "com.amazonaws.appsync#AuthenticationType", "traits": { - "smithy.api#documentation": "

The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC),\n Amazon Cognito user pools, or Lambda.

" + "smithy.api#documentation": "

The authentication type: API key, Identity and Access Management (IAM), OpenID\n Connect (OIDC), Amazon Cognito user pools, or Lambda.

" } }, "openIDConnectConfig": { @@ -1149,7 +1199,7 @@ "associationStatus": { "target": "com.amazonaws.appsync#AssociationStatus", "traits": { - "smithy.api#documentation": "

Identifies the status of an association.

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

Identifies the status of an association.

\n " } }, "deploymentDetail": { @@ -1176,14 +1226,14 @@ "apiCachingBehavior": { "target": "com.amazonaws.appsync#ApiCachingBehavior", "traits": { - "smithy.api#documentation": "

Caching behavior.

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

Caching behavior.

\n " } }, "transitEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Transit encryption flag when connecting to cache. You cannot update this setting after creation.

" + "smithy.api#documentation": "

Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.

" } }, "atRestEncryptionEnabled": { @@ -1202,7 +1252,7 @@ "status": { "target": "com.amazonaws.appsync#ApiCacheStatus", "traits": { - "smithy.api#documentation": "

The cache instance status.

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

The cache instance status.

\n " } } }, @@ -1376,19 +1426,19 @@ "target": "com.amazonaws.appsync#Long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The time after which the API key expires. The date is represented as seconds since the epoch, rounded down\n to the nearest hour.

" + "smithy.api#documentation": "

The time after which the API key expires. The date is represented as seconds since the\n epoch, rounded down to the nearest hour.

" } }, "deletes": { "target": "com.amazonaws.appsync#Long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded\n down to the nearest hour.

" + "smithy.api#documentation": "

The time after which the API key is deleted. The date is represented as seconds since\n the epoch, rounded down to the nearest hour.

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

Describes an API key.

\n

Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism.\n There are two key versions:

\n

\n da1: We introduced this version at launch in November 2017. These keys\n always expire after 7 days. Amazon DynamoDB TTL manages key expiration. These keys ceased to be valid\n after February 21, 2018, and they should no longer be used.

\n \n

\n da2: We introduced this version in February 2018 when AppSync added support to extend key expiration.

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

Describes an API key.

\n

Customers invoke AppSync GraphQL API operations with API keys as an\n identity mechanism. There are two key versions:

\n

\n da1: We introduced this version at launch in November\n 2017. These keys always expire after 7 days. Amazon DynamoDB TTL manages key\n expiration. These keys ceased to be valid after February 21, 2018, and they should no\n longer be used.

\n \n

\n da2: We introduced this version in February 2018 when\n AppSync added support to extend key expiration.

\n " } }, "com.amazonaws.appsync#ApiKeyLimitExceededException": { @@ -1442,20 +1492,20 @@ "name": { "target": "com.amazonaws.appsync#RuntimeName", "traits": { - "smithy.api#documentation": "

The name of the runtime to use. Currently, the only allowed value is\n APPSYNC_JS.

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

The name of the runtime to use. Currently, the only allowed value is\n APPSYNC_JS.

", "smithy.api#required": {} } }, "runtimeVersion": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The version of the runtime to use. Currently, the only allowed version is\n 1.0.0.

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

The version of the runtime to use. Currently, the only allowed version is\n 1.0.0.

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

Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and\n version of the runtime to use. Note that if a runtime is specified, code must also be specified.

" + "smithy.api#documentation": "

Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note\n that if a runtime is specified, code must also be specified.

" } }, "com.amazonaws.appsync#AssociateApi": { @@ -1503,10 +1553,13 @@ "apiId": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The API ID.

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

The API ID. Private APIs can not be associated with custom domains.

", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#AssociateApiResponse": { @@ -1518,6 +1571,9 @@ "smithy.api#documentation": "

The ApiAssociation object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#AssociationStatus": { @@ -1584,7 +1640,7 @@ "authorizationType": { "target": "com.amazonaws.appsync#AuthorizationType", "traits": { - "smithy.api#documentation": "

The authorization type that the HTTP endpoint requires.

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

The authorization type that the HTTP endpoint requires.

\n ", "smithy.api#required": {} } }, @@ -1641,7 +1697,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides further details for the reason behind the bad request. For reason type CODE_ERROR, the\n detail will contain a list of code errors.

" + "smithy.api#documentation": "

Provides further details for the reason behind the bad request. For reason type\n CODE_ERROR, the detail will contain a list of code errors.

" } }, "com.amazonaws.appsync#BadRequestException": { @@ -1658,7 +1714,7 @@ } }, "traits": { - "smithy.api#documentation": "

The request is not well formed. For example, a value is invalid or a required field is missing. Check the\n field values, and then try again.

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

The request is not well formed. For example, a value is invalid or a required field is\n missing. Check the field values, and then try again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1674,7 +1730,7 @@ } }, "traits": { - "smithy.api#documentation": "

Provides context for the cause of the bad request. The only supported value is\n CODE_ERROR.

" + "smithy.api#documentation": "

Provides context for the cause of the bad request. The only supported value is\n CODE_ERROR.

" } }, "com.amazonaws.appsync#Blob": { @@ -1703,7 +1759,7 @@ "cachingKeys": { "target": "com.amazonaws.appsync#CachingKeys", "traits": { - "smithy.api#documentation": "

The caching keys for a resolver that has caching activated.

\n

Valid values are entries from the $context.arguments, $context.source, and\n $context.identity maps.

" + "smithy.api#documentation": "

The caching keys for a resolver that has caching activated.

\n

Valid values are entries from the $context.arguments,\n $context.source, and $context.identity maps.

" } } }, @@ -1742,13 +1798,13 @@ "errorType": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The type of code error.

\n

Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.

" + "smithy.api#documentation": "

The type of code error.

\n

Examples include, but aren't limited to: LINT_ERROR,\n PARSER_ERROR.

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

A user presentable error.

\n

Examples include, but aren't limited to: Parsing error: Unterminated string literal.

" + "smithy.api#documentation": "

A user presentable error.

\n

Examples include, but aren't limited to: Parsing error: Unterminated string\n literal.

" } }, "location": { @@ -1835,7 +1891,7 @@ "appIdClientRegex": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value\n isn't set, no filtering is applied.

" + "smithy.api#documentation": "

A regular expression for validating the incoming Amazon Cognito user pool app client\n ID. If this value isn't set, no filtering is applied.

" } } }, @@ -1851,7 +1907,7 @@ } }, "traits": { - "smithy.api#documentation": "

Another modification is in progress at this time and it must complete before you can make your\n change.

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

Another modification is in progress at this time and it must complete before you can\n make your change.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -1969,7 +2025,7 @@ "target": "com.amazonaws.appsync#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Transit encryption flag when connecting to cache. You cannot update this setting after creation.

" + "smithy.api#documentation": "

Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.

" } }, "atRestEncryptionEnabled": { @@ -1982,7 +2038,7 @@ "apiCachingBehavior": { "target": "com.amazonaws.appsync#ApiCachingBehavior", "traits": { - "smithy.api#documentation": "

Caching behavior.

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

Caching behavior.

\n ", "smithy.api#required": {} } }, @@ -1995,7 +2051,8 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the input of a CreateApiCache operation.

" + "smithy.api#documentation": "

Represents the input of a CreateApiCache operation.

", + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateApiCacheResponse": { @@ -2009,7 +2066,8 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the output of a CreateApiCache operation.

" + "smithy.api#documentation": "

Represents the output of a CreateApiCache operation.

", + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateApiKey": { @@ -2073,9 +2131,12 @@ "target": "com.amazonaws.appsync#Long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

From the creation time, the time after which the API key expires. The date is represented as seconds since\n the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time.\n For more information, see .

" + "smithy.api#documentation": "

From the creation time, the time after which the API key expires. The date is\n represented as seconds since the epoch, rounded down to the nearest hour. The default value\n for this parameter is 7 days from creation time. For more information, see .

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateApiKeyResponse": { @@ -2087,6 +2148,9 @@ "smithy.api#documentation": "

The API key.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateDataSource": { @@ -2157,7 +2221,7 @@ "serviceRoleArn": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source.\n The system assumes this role when accessing the data source.

" + "smithy.api#documentation": "

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN)\n for the data source. The system assumes this role when accessing the data source.

" } }, "dynamodbConfig": { @@ -2175,7 +2239,7 @@ "elasticsearchConfig": { "target": "com.amazonaws.appsync#ElasticsearchDataSourceConfig", "traits": { - "smithy.api#documentation": "

Amazon OpenSearch Service settings.

\n

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is\n deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to\n create an OpenSearch data source.

" + "smithy.api#documentation": "

Amazon OpenSearch Service settings.

\n

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This\n configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.

" } }, "openSearchServiceConfig": { @@ -2202,6 +2266,9 @@ "smithy.api#documentation": "

Amazon EventBridge settings.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateDataSourceResponse": { @@ -2213,6 +2280,9 @@ "smithy.api#documentation": "

The DataSource object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateDomainName": { @@ -2256,7 +2326,7 @@ "certificateArn": { "target": "com.amazonaws.appsync#CertificateArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.

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

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager\n (ACM) certificate or an Identity and Access Management (IAM)\n server certificate.

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

A description of the DomainName.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateDomainNameResponse": { @@ -2277,6 +2350,9 @@ "smithy.api#documentation": "

The configuration for the DomainName.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateFunction": { @@ -2302,7 +2378,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Function object.

\n

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

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

Creates a Function object.

\n

A function is a reusable entity. You can use multiple functions to compose the resolver\n logic.

", "smithy.api#http": { "method": "POST", "uri": "/v1/apis/{apiId}/functions", @@ -2344,7 +2420,7 @@ "requestMappingTemplate": { "target": "com.amazonaws.appsync#MappingTemplate", "traits": { - "smithy.api#documentation": "

The Function request mapping template. Functions support only the 2018-05-29 version of the\n request mapping template.

" + "smithy.api#documentation": "

The Function request mapping template. Functions support only the\n 2018-05-29 version of the request mapping template.

" } }, "responseMappingTemplate": { @@ -2356,7 +2432,7 @@ "functionVersion": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The version of the request mapping template. Currently, the supported value is 2018-05-29. Note\n that when using VTL and mapping templates, the functionVersion is required.

" + "smithy.api#documentation": "

The version of the request mapping template. Currently, the supported value\n is 2018-05-29. Note that when using VTL and mapping templates, the\n functionVersion is required.

" } }, "syncConfig": { @@ -2375,9 +2451,12 @@ "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The function code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.

" + "smithy.api#documentation": "

The function code that contains the request and response functions. When\n code is used, the runtime is required. The runtime value must be\n APPSYNC_JS.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateFunctionResponse": { @@ -2389,6 +2468,9 @@ "smithy.api#documentation": "

The Function object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateGraphqlApi": { @@ -2447,7 +2529,7 @@ "authenticationType": { "target": "com.amazonaws.appsync#AuthenticationType", "traits": { - "smithy.api#documentation": "

The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC),\n Amazon Cognito user pools, or Lambda.

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

The authentication type: API key, Identity and Access Management (IAM), OpenID\n Connect (OIDC), Amazon Cognito user pools, or Lambda.

", "smithy.api#required": {} } }, @@ -2472,14 +2554,14 @@ "additionalAuthenticationProviders": { "target": "com.amazonaws.appsync#AdditionalAuthenticationProviders", "traits": { - "smithy.api#documentation": "

A list of additional authentication providers for the GraphqlApi API.

" + "smithy.api#documentation": "

A list of additional authentication providers for the GraphqlApi\n API.

" } }, "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for the GraphqlApi.

" + "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for the\n GraphqlApi.

" } }, "lambdaAuthorizerConfig": { @@ -2487,7 +2569,16 @@ "traits": { "smithy.api#documentation": "

Configuration for Lambda function authorization.

" } + }, + "visibility": { + "target": "com.amazonaws.appsync#GraphQLApiVisibility", + "traits": { + "smithy.api#documentation": "

Sets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). If no\n value is provided, the visibility will be set to GLOBAL by default. This value cannot be changed\n once the API has been created.

" + } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateGraphqlApiResponse": { @@ -2499,6 +2590,9 @@ "smithy.api#documentation": "

The GraphqlApi.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateResolver": { @@ -2527,7 +2621,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Resolver object.

\n

A resolver converts incoming requests into a format that a data source can understand, and converts the data\n source's responses into GraphQL.

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

Creates a Resolver object.

\n

A resolver converts incoming requests into a format that a data source can understand,\n and converts the data source's responses into GraphQL.

", "smithy.api#http": { "method": "POST", "uri": "/v1/apis/{apiId}/types/{typeName}/resolvers", @@ -2570,7 +2664,7 @@ "requestMappingTemplate": { "target": "com.amazonaws.appsync#MappingTemplate", "traits": { - "smithy.api#documentation": "

The mapping template to use for requests.

\n

A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source\n can understand. Mapping templates are written in Apache Velocity Template Language (VTL).

\n

VTL request mapping templates are optional when using an Lambda data source. For all other\n data sources, VTL request and response mapping templates are required.

" + "smithy.api#documentation": "

The mapping template to use for requests.

\n

A resolver uses a request mapping template to convert a GraphQL expression into a format\n that a data source can understand. Mapping templates are written in Apache Velocity\n Template Language (VTL).

\n

VTL request mapping templates are optional when using an Lambda data\n source. For all other data sources, VTL request and response mapping templates are\n required.

" } }, "responseMappingTemplate": { @@ -2582,7 +2676,7 @@ "kind": { "target": "com.amazonaws.appsync#ResolverKind", "traits": { - "smithy.api#documentation": "

The resolver type.

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

The resolver type.

\n " } }, "pipelineConfig": { @@ -2616,9 +2710,12 @@ "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The resolver code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.

" + "smithy.api#documentation": "

The resolver code that contains the request and response functions. When\n code is used, the runtime is required. The runtime value must be\n APPSYNC_JS.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateResolverResponse": { @@ -2630,6 +2727,9 @@ "smithy.api#documentation": "

The Resolver object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#CreateType": { @@ -2691,6 +2791,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#CreateTypeResponse": { @@ -2702,6 +2805,9 @@ "smithy.api#documentation": "

The Type object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#DataSource": { @@ -2728,13 +2834,13 @@ "type": { "target": "com.amazonaws.appsync#DataSourceType", "traits": { - "smithy.api#documentation": "

The type of the data source.

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

The type of the data source.

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

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source.\n The system assumes this role when accessing the data source.

" + "smithy.api#documentation": "

The Identity and Access Management (IAM) service role Amazon Resource Name (ARN)\n for the data source. The system assumes this role when accessing the data source.

" } }, "dynamodbConfig": { @@ -2907,14 +3013,16 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the input of a DeleteApiCache operation.

" + "smithy.api#documentation": "

Represents the input of a DeleteApiCache operation.

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

Represents the output of a DeleteApiCache operation.

" + "smithy.api#documentation": "

Represents the output of a DeleteApiCache operation.

", + "smithy.api#output": {} } }, "com.amazonaws.appsync#DeleteApiKey": { @@ -2967,11 +3075,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteApiKeyResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeleteDataSource": { "type": "operation", @@ -3026,11 +3140,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteDataSourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeleteDomainName": { "type": "operation", @@ -3077,11 +3197,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteDomainNameResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeleteFunction": { "type": "operation", @@ -3133,11 +3259,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteFunctionResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeleteGraphqlApi": { "type": "operation", @@ -3187,11 +3319,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteGraphqlApiResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeleteResolver": { "type": "operation", @@ -3254,11 +3392,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteResolverResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeleteType": { "type": "operation", @@ -3313,11 +3457,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DeleteTypeResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DeltaSyncConfig": { "type": "structure", @@ -3339,7 +3489,7 @@ "target": "com.amazonaws.appsync#Long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.

" + "smithy.api#documentation": "

The number of minutes that a Delta Sync log entry is stored in the Delta Sync\n table.

" } } }, @@ -3402,11 +3552,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#DisassociateApiResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#DomainName": { "type": "string", @@ -3436,7 +3592,7 @@ "certificateArn": { "target": "com.amazonaws.appsync#CertificateArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager\n (ACM) certificate or an Identity and Access Management (IAM)\n server certificate.

" } }, "appsyncDomainName": { @@ -3523,7 +3679,7 @@ } }, "traits": { - "smithy.api#documentation": "

Describes an OpenSearch data source configuration.

\n

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is\n deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.

" + "smithy.api#documentation": "

Describes an OpenSearch data source configuration.

\n

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This\n configuration is deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data\n source.

" } }, "com.amazonaws.appsync#ErrorDetail": { @@ -3537,7 +3693,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the list of errors generated. When using JavaScript, this will apply to the request or response\n function evaluation.

" + "smithy.api#documentation": "

Contains the list of errors generated. When using JavaScript, this will apply to the\n request or response function evaluation.

" } }, "com.amazonaws.appsync#ErrorMessage": { @@ -3563,7 +3719,7 @@ } ], "traits": { - "smithy.api#documentation": "

Evaluates the given code and returns the response. The code definition requirements depend on the specified\n runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request\n function takes the incoming request after a GraphQL operation is parsed and converts it into a request\n configuration for the selected data source operation. The response function interprets responses from the data\n source and maps it to the shape of the GraphQL field output type.

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

Evaluates the given code and returns the response. The code definition requirements\n depend on the specified runtime. For APPSYNC_JS runtimes, the code defines the\n request and response functions. The request function takes the incoming request after a\n GraphQL operation is parsed and converts it into a request configuration for the selected\n data source operation. The response function interprets responses from the data source and\n maps it to the shape of the GraphQL field output type.

", "smithy.api#http": { "method": "POST", "uri": "/v1/dataplane-evaluatecode", @@ -3597,30 +3753,33 @@ "runtime": { "target": "com.amazonaws.appsync#AppSyncRuntime", "traits": { - "smithy.api#documentation": "

The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is\n supported.

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

The runtime to be used when evaluating the code. Currently, only the\n APPSYNC_JS runtime is supported.

", "smithy.api#required": {} } }, "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The code definition to be evaluated. Note that code and runtime are both required\n for this action. The runtime value must be APPSYNC_JS.

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

The code definition to be evaluated. Note that code and\n runtime are both required for this action. The runtime value\n must be APPSYNC_JS.

", "smithy.api#required": {} } }, "context": { "target": "com.amazonaws.appsync#Context", "traits": { - "smithy.api#documentation": "

The map that holds all of the contextual information for your resolver invocation. A context is\n required for this action.

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

The map that holds all of the contextual information for your resolver invocation. A\n context is required for this action.

", "smithy.api#required": {} } }, "function": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The function within the code to be evaluated. If provided, the valid values are request and\n response.

" + "smithy.api#documentation": "

The function within the code to be evaluated. If provided, the valid values are\n request and response.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#EvaluateCodeResponse": { @@ -3641,9 +3800,12 @@ "logs": { "target": "com.amazonaws.appsync#Logs", "traits": { - "smithy.api#documentation": "

A list of logs that were generated by calls to util.log.info and util.log.error in\n the evaluated code.

" + "smithy.api#documentation": "

A list of logs that were generated by calls to util.log.info and\n util.log.error in the evaluated code.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#EvaluateMappingTemplate": { @@ -3666,7 +3828,7 @@ } ], "traits": { - "smithy.api#documentation": "

Evaluates a given template and returns the response. The mapping template can be a request or response\n template.

\n

Request templates take the incoming request after a GraphQL operation is parsed and convert it into a\n request configuration for the selected data source operation. Response templates interpret responses from the\n data source and map it to the shape of the GraphQL field output type.

\n

Mapping templates are written in the Apache Velocity Template Language (VTL).

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

Evaluates a given template and returns the response. The mapping template can be a\n request or response template.

\n

Request templates take the incoming request after a GraphQL operation is parsed and\n convert it into a request configuration for the selected data source operation. Response\n templates interpret responses from the data source and map it to the shape of the GraphQL\n field output type.

\n

Mapping templates are written in the Apache Velocity Template Language (VTL).

", "smithy.api#http": { "method": "POST", "uri": "/v1/dataplane-evaluatetemplate", @@ -3680,17 +3842,20 @@ "template": { "target": "com.amazonaws.appsync#Template", "traits": { - "smithy.api#documentation": "

The mapping template; this can be a request or response template. A template is required for\n this action.

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

The mapping template; this can be a request or response template. A\n template is required for this action.

", "smithy.api#required": {} } }, "context": { "target": "com.amazonaws.appsync#Context", "traits": { - "smithy.api#documentation": "

The map that holds all of the contextual information for your resolver invocation. A context is\n required for this action.

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

The map that holds all of the contextual information for your resolver invocation. A\n context is required for this action.

", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#EvaluateMappingTemplateResponse": { @@ -3711,9 +3876,12 @@ "logs": { "target": "com.amazonaws.appsync#Logs", "traits": { - "smithy.api#documentation": "

A list of logs that were generated by calls to util.log.info and util.log.error in\n the evaluated code.

" + "smithy.api#documentation": "

A list of logs that were generated by calls to util.log.info and\n util.log.error in the evaluated code.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#EvaluationResult": { @@ -3732,7 +3900,7 @@ "eventBusArn": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The ARN of the event bus. For more information about event buses, see Amazon EventBridge event\n buses.

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

The ARN of the event bus. For more information about event buses, see Amazon\n EventBridge event buses.

", "smithy.api#required": {} } } @@ -3811,14 +3979,16 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the input of a FlushApiCache operation.

" + "smithy.api#documentation": "

Represents the input of a FlushApiCache operation.

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

Represents the output of a FlushApiCache operation.

" + "smithy.api#documentation": "

Represents the output of a FlushApiCache operation.

", + "smithy.api#output": {} } }, "com.amazonaws.appsync#FunctionConfiguration": { @@ -3857,7 +4027,7 @@ "requestMappingTemplate": { "target": "com.amazonaws.appsync#MappingTemplate", "traits": { - "smithy.api#documentation": "

The Function request mapping template. Functions support only the 2018-05-29 version of the\n request mapping template.

" + "smithy.api#documentation": "

The Function request mapping template. Functions support only the\n 2018-05-29 version of the request mapping template.

" } }, "responseMappingTemplate": { @@ -3869,7 +4039,7 @@ "functionVersion": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The version of the request mapping template. Currently, only the 2018-05-29 version of the template is\n supported.

" + "smithy.api#documentation": "

The version of the request mapping template. Currently, only the 2018-05-29 version of\n the template is supported.

" } }, "syncConfig": { @@ -3888,12 +4058,12 @@ "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The function code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.

" + "smithy.api#documentation": "

The function code that contains the request and response functions. When\n code is used, the runtime is required. The runtime value must be\n APPSYNC_JS.

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

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

" + "smithy.api#documentation": "

A function is a reusable entity. You can use multiple functions to compose the resolver\n logic.

" } }, "com.amazonaws.appsync#Functions": { @@ -3950,6 +4120,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetApiAssociationResponse": { @@ -3961,6 +4134,9 @@ "smithy.api#documentation": "

The ApiAssociation object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetApiCache": { @@ -4010,7 +4186,8 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the input of a GetApiCache operation.

" + "smithy.api#documentation": "

Represents the input of a GetApiCache operation.

", + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetApiCacheResponse": { @@ -4024,7 +4201,8 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the output of a GetApiCache operation.

" + "smithy.api#documentation": "

Represents the output of a GetApiCache operation.

", + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetDataSource": { @@ -4080,6 +4258,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetDataSourceResponse": { @@ -4091,6 +4272,9 @@ "smithy.api#documentation": "

The DataSource object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetDomainName": { @@ -4135,6 +4319,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetDomainNameResponse": { @@ -4146,6 +4333,9 @@ "smithy.api#documentation": "

The configuration for the DomainName.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetFunction": { @@ -4195,6 +4385,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetFunctionResponse": { @@ -4206,6 +4399,9 @@ "smithy.api#documentation": "

The Function object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetGraphqlApi": { @@ -4253,6 +4449,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetGraphqlApiResponse": { @@ -4264,6 +4463,9 @@ "smithy.api#documentation": "

The GraphqlApi object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetIntrospectionSchema": { @@ -4323,6 +4525,9 @@ "smithy.api#httpQuery": "includeDirectives" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetIntrospectionSchemaResponse": { @@ -4335,6 +4540,9 @@ "smithy.api#httpPayload": {} } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetResolver": { @@ -4392,6 +4600,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetResolverResponse": { @@ -4403,6 +4614,9 @@ "smithy.api#documentation": "

The Resolver object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetSchemaCreationStatus": { @@ -4447,6 +4661,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetSchemaCreationStatusResponse": { @@ -4455,7 +4672,7 @@ "status": { "target": "com.amazonaws.appsync#SchemaStatus", "traits": { - "smithy.api#documentation": "

The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the\n ACTIVE state, you can add data.

" + "smithy.api#documentation": "

The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When\n the schema is in the ACTIVE state, you can add data.

" } }, "details": { @@ -4464,6 +4681,9 @@ "smithy.api#documentation": "

Detailed information about the status of the schema creation operation.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#GetType": { @@ -4527,6 +4747,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#GetTypeResponse": { @@ -4538,6 +4761,26 @@ "smithy.api#documentation": "

The Type object.

" } } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.appsync#GraphQLApiVisibility": { + "type": "enum", + "members": { + "GLOBAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GLOBAL" + } + }, + "PRIVATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVATE" + } + } } }, "com.amazonaws.appsync#GraphQLSchemaException": { @@ -4613,20 +4856,20 @@ "additionalAuthenticationProviders": { "target": "com.amazonaws.appsync#AdditionalAuthenticationProviders", "traits": { - "smithy.api#documentation": "

A list of additional authentication providers for the GraphqlApi API.

" + "smithy.api#documentation": "

A list of additional authentication providers for the GraphqlApi\n API.

" } }, "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for this GraphqlApi.

" + "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for this\n GraphqlApi.

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

The ARN of the WAF access control list (ACL) associated with this\n GraphqlApi, if one exists.

" + "smithy.api#documentation": "

The ARN of the WAF access control list (ACL) associated with this\n GraphqlApi, if one exists.

" } }, "lambdaAuthorizerConfig": { @@ -4634,6 +4877,18 @@ "traits": { "smithy.api#documentation": "

Configuration for Lambda function authorization.

" } + }, + "dns": { + "target": "com.amazonaws.appsync#MapOfStringToString", + "traits": { + "smithy.api#documentation": "

The DNS records for the API.

" + } + }, + "visibility": { + "target": "com.amazonaws.appsync#GraphQLApiVisibility", + "traits": { + "smithy.api#documentation": "

Sets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). If no\n value is provided, the visibility will be set to GLOBAL by default. This value cannot be changed\n once the API has been created.

" + } } }, "traits": { @@ -4652,7 +4907,7 @@ "endpoint": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL\n scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80\n for the HTTP endpoint and port 443 for HTTPS endpoints.

" + "smithy.api#documentation": "

The HTTP URL endpoint. You can specify either the domain name or IP, and port\n combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port,\n AppSync uses the default port 80 for the HTTP endpoint and port 443 for\n HTTPS endpoints.

" } }, "authorizationConfig": { @@ -4686,25 +4941,25 @@ "target": "com.amazonaws.appsync#TTL", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

The number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value\n of 0 disables caching of responses.

" + "smithy.api#documentation": "

The number of seconds a response should be cached for. The default is 0 seconds, which\n disables caching. If you don't specify a value for\n authorizerResultTtlInSeconds, the default value is used. The maximum value\n is one hour (3600 seconds). The Lambda function can override this by returning\n a ttlOverride key in its response.

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

The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can\n be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.

\n

\n Note: This Lambda function must have the following\n resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is\n done for you. To use the Command Line Interface (CLI), run the following:

\n

\n aws lambda add-permission --function-name\n \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\" --principal\n appsync.amazonaws.com --action lambda:InvokeFunction\n

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

The Amazon Resource Name (ARN) of the Lambda function to be called for\n authorization. This can be a standard Lambda ARN, a version ARN\n (.../v3), or an alias ARN.

\n

\n Note: This Lambda function must have the\n following resource-based policy assigned to it. When configuring Lambda\n authorizers in the console, this is done for you. To use the Command Line Interface\n (CLI), run the following:

\n

\n aws lambda add-permission --function-name\n \"arn:aws:lambda:us-east-2:111122223333:function:my-function\" --statement-id \"appsync\"\n --principal appsync.amazonaws.com --action lambda:InvokeFunction\n

", "smithy.api#required": {} } }, "identityValidationExpression": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

A regular expression for validation of tokens before the Lambda function is called.

" + "smithy.api#documentation": "

A regular expression for validation of tokens before the Lambda function is\n called.

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

A LambdaAuthorizerConfig specifies how to authorize AppSync API access when\n using the AWS_LAMBDA authorizer mode. Be aware that an AppSync API can have only\n one Lambda authorizer configured at a time.

" + "smithy.api#documentation": "

A LambdaAuthorizerConfig specifies how to authorize AppSync\n API access when using the AWS_LAMBDA authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a\n time.

" } }, "com.amazonaws.appsync#LambdaConflictHandlerConfig": { @@ -4713,12 +4968,12 @@ "lambdaConflictHandlerArn": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Lambda function to use as the\n Conflict Handler.

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

The LambdaConflictHandlerConfig object when configuring LAMBDA as the Conflict\n Handler.

" + "smithy.api#documentation": "

The LambdaConflictHandlerConfig object when configuring LAMBDA\n as the Conflict Handler.

" } }, "com.amazonaws.appsync#LambdaDataSourceConfig": { @@ -4772,7 +5027,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the API keys for a given API.

\n \n

API keys are deleted automatically 60 days after they expire. However, they may still be included in the\n response until they have actually been deleted. You can safely call DeleteApiKey to manually\n delete a key before it's automatically deleted.

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

Lists the API keys for a given API.

\n \n

API keys are deleted automatically 60 days after they expire. However, they may still\n be included in the response until they have actually been deleted. You can safely call\n DeleteApiKey to manually delete a key before it's automatically\n deleted.

\n
", "smithy.api#http": { "method": "GET", "uri": "/v1/apis/{apiId}/apikeys", @@ -4794,7 +5049,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -4806,6 +5061,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListApiKeysResponse": { @@ -4820,9 +5078,12 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of items in the\n list.

" + "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of\n items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListDataSources": { @@ -4870,7 +5131,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -4882,6 +5143,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListDataSourcesResponse": { @@ -4896,9 +5160,12 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of items in the\n list.

" + "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of\n items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListDomainNames": { @@ -4947,6 +5214,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListDomainNamesResponse": { @@ -4964,6 +5234,9 @@ "smithy.api#documentation": "

The API token.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListFunctions": { @@ -5011,7 +5284,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -5023,6 +5296,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListFunctionsResponse": { @@ -5037,9 +5313,12 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

" + "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListGraphqlApis": { @@ -5076,7 +5355,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -5088,6 +5367,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListGraphqlApisResponse": { @@ -5102,9 +5384,12 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of items in the\n list.

" + "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of\n items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListResolvers": { @@ -5191,7 +5476,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -5203,6 +5488,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListResolversByFunctionResponse": { @@ -5220,6 +5508,9 @@ "smithy.api#documentation": "

An identifier that you can use to return the next set of items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListResolversRequest": { @@ -5244,7 +5535,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -5256,6 +5547,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListResolversResponse": { @@ -5270,9 +5564,12 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of items in the\n list.

" + "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of\n items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListTagsForResource": { @@ -5323,6 +5620,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListTagsForResourceResponse": { @@ -5334,6 +5634,9 @@ "smithy.api#documentation": "

A TagMap object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#ListTypes": { @@ -5392,7 +5695,7 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier that was returned from the previous call to this operation, which you can use to return the\n next set of items in the list.

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

An identifier that was returned from the previous call to this operation, which you can\n use to return the next set of items in the list.

", "smithy.api#httpQuery": "nextToken" } }, @@ -5404,6 +5707,9 @@ "smithy.api#httpQuery": "maxResults" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#ListTypesResponse": { @@ -5418,9 +5724,12 @@ "nextToken": { "target": "com.amazonaws.appsync#PaginationToken", "traits": { - "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of items in the\n list.

" + "smithy.api#documentation": "

An identifier to pass in the next request to this operation to return the next set of\n items in the list.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#LogConfig": { @@ -5429,14 +5738,14 @@ "fieldLogLevel": { "target": "com.amazonaws.appsync#FieldLogLevel", "traits": { - "smithy.api#documentation": "

The field logging level. Values can be NONE, ERROR, or ALL.

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

The field logging level. Values can be NONE, ERROR, or ALL.

\n ", "smithy.api#required": {} } }, "cloudWatchLogsRoleArn": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The service role that AppSync assumes to publish to CloudWatch logs in your\n account.

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

The service role that AppSync assumes to publish to CloudWatch\n logs in your account.

", "smithy.api#required": {} } }, @@ -5444,7 +5753,7 @@ "target": "com.amazonaws.appsync#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping\n templates, regardless of logging level.

" + "smithy.api#documentation": "

Set to TRUE to exclude sections that contain information such as headers, context, and\n evaluated mapping templates, regardless of logging level.

" } } }, @@ -5511,7 +5820,7 @@ } }, "traits": { - "smithy.api#documentation": "

The resource specified in the request was not found. Check the resource, and then try again.

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

The resource specified in the request was not found. Check the resource, and then try\n again.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -5522,14 +5831,14 @@ "issuer": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of\n iss in the ID token.

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

The issuer for the OIDC configuration. The issuer returned by discovery must exactly\n match the value of iss in the ID token.

", "smithy.api#required": {} } }, "clientId": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The client identifier of the relying party at the OpenID identity provider. This identifier is typically\n obtained when the relying party is registered with the OpenID identity provider. You can specify a regular\n expression so that AppSync can validate against multiple client identifiers at a time.

" + "smithy.api#documentation": "

The client identifier of the relying party at the OpenID identity provider. This\n identifier is typically obtained when the relying party is registered with the OpenID\n identity provider. You can specify a regular expression so that AppSync can\n validate against multiple client identifiers at a time.

" } }, "iatTTL": { @@ -5644,7 +5953,7 @@ "awsSecretStoreArn": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.

" + "smithy.api#documentation": "

Amazon Web Services secret store Amazon Resource Name (ARN) for database\n credentials.

" } } }, @@ -5658,7 +5967,7 @@ "relationalDatabaseSourceType": { "target": "com.amazonaws.appsync#RelationalDatabaseSourceType", "traits": { - "smithy.api#documentation": "

Source type for the relational database.

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

Source type for the relational database.

\n " } }, "rdsHttpEndpointConfig": { @@ -5725,7 +6034,7 @@ "kind": { "target": "com.amazonaws.appsync#ResolverKind", "traits": { - "smithy.api#documentation": "

The resolver type.

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

The resolver type.

\n " } }, "pipelineConfig": { @@ -5759,7 +6068,7 @@ "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The resolver code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.

" + "smithy.api#documentation": "

The resolver code that contains the request and response functions. When\n code is used, the runtime is required. The runtime value must be\n APPSYNC_JS.

" } } }, @@ -5888,7 +6197,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a new schema to your GraphQL API.

\n

This operation is asynchronous. Use to determine when it has\n completed.

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

Adds a new schema to your GraphQL API.

\n

This operation is asynchronous. Use to\n determine when it has completed.

", "smithy.api#http": { "method": "POST", "uri": "/v1/apis/{apiId}/schemacreation", @@ -5914,6 +6223,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#StartSchemaCreationResponse": { @@ -5922,9 +6234,12 @@ "status": { "target": "com.amazonaws.appsync#SchemaStatus", "traits": { - "smithy.api#documentation": "

The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the\n ACTIVE state, you can add data.

" + "smithy.api#documentation": "

The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When\n the schema is in the ACTIVE state, you can add data.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#String": { @@ -5936,24 +6251,24 @@ "conflictHandler": { "target": "com.amazonaws.appsync#ConflictHandlerType", "traits": { - "smithy.api#documentation": "

The Conflict Resolution strategy to perform in the event of a conflict.

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

The Conflict Resolution strategy to perform in the event of a conflict.

\n " } }, "conflictDetection": { "target": "com.amazonaws.appsync#ConflictDetectionType", "traits": { - "smithy.api#documentation": "

The Conflict Detection strategy to use.

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

The Conflict Detection strategy to use.

\n " } }, "lambdaConflictHandlerConfig": { "target": "com.amazonaws.appsync#LambdaConflictHandlerConfig", "traits": { - "smithy.api#documentation": "

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict\n Handler.

" + "smithy.api#documentation": "

The LambdaConflictHandlerConfig when configuring LAMBDA as the\n Conflict Handler.

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

Describes a Sync configuration for a resolver.

\n

Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is\n invoked.

" + "smithy.api#documentation": "

Describes a Sync configuration for a resolver.

\n

Specifies which Conflict Detection strategy and Resolution strategy to use when the\n resolver is invoked.

" } }, "com.amazonaws.appsync#TTL": { @@ -5998,7 +6313,7 @@ "target": "com.amazonaws.appsync#TagValue" }, "traits": { - "smithy.api#documentation": "

A map with keys of TagKey objects and values of TagValue objects.

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

A map with keys of TagKey objects and values of TagValue\n objects.

", "smithy.api#length": { "min": 1, "max": 50 @@ -6060,11 +6375,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#TagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#TagValue": { "type": "string", @@ -6217,11 +6538,17 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UntagResourceResponse": { "type": "structure", - "members": {} + "members": {}, + "traits": { + "smithy.api#output": {} + } }, "com.amazonaws.appsync#UpdateApiCache": { "type": "operation", @@ -6279,7 +6606,7 @@ "apiCachingBehavior": { "target": "com.amazonaws.appsync#ApiCachingBehavior", "traits": { - "smithy.api#documentation": "

Caching behavior.

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

Caching behavior.

\n ", "smithy.api#required": {} } }, @@ -6292,7 +6619,8 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the input of a UpdateApiCache operation.

" + "smithy.api#documentation": "

Represents the input of a UpdateApiCache operation.

", + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateApiCacheResponse": { @@ -6306,7 +6634,8 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the output of a UpdateApiCache operation.

" + "smithy.api#documentation": "

Represents the output of a UpdateApiCache operation.

", + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateApiKey": { @@ -6375,9 +6704,12 @@ "target": "com.amazonaws.appsync#Long", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

From the update time, the time after which the API key expires. The date is represented as seconds since the\n epoch. For more information, see .

" + "smithy.api#documentation": "

From the update time, the time after which the API key expires. The date is represented\n as seconds since the epoch. For more information, see .

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateApiKeyResponse": { @@ -6389,6 +6721,9 @@ "smithy.api#documentation": "

The API key.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateDataSource": { @@ -6478,7 +6813,7 @@ "elasticsearchConfig": { "target": "com.amazonaws.appsync#ElasticsearchDataSourceConfig", "traits": { - "smithy.api#documentation": "

The new OpenSearch configuration.

\n

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is\n deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.

" + "smithy.api#documentation": "

The new OpenSearch configuration.

\n

As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This\n configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.

" } }, "openSearchServiceConfig": { @@ -6505,6 +6840,9 @@ "smithy.api#documentation": "

The new Amazon EventBridge settings.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateDataSourceResponse": { @@ -6516,6 +6854,9 @@ "smithy.api#documentation": "

The updated DataSource object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateDomainName": { @@ -6569,6 +6910,9 @@ "smithy.api#documentation": "

A description of the DomainName.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateDomainNameResponse": { @@ -6580,6 +6924,9 @@ "smithy.api#documentation": "

The configuration for the DomainName.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateFunction": { @@ -6655,7 +7002,7 @@ "requestMappingTemplate": { "target": "com.amazonaws.appsync#MappingTemplate", "traits": { - "smithy.api#documentation": "

The Function request mapping template. Functions support only the 2018-05-29 version of the\n request mapping template.

" + "smithy.api#documentation": "

The Function request mapping template. Functions support only the\n 2018-05-29 version of the request mapping template.

" } }, "responseMappingTemplate": { @@ -6667,7 +7014,7 @@ "functionVersion": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

The version of the request mapping template. Currently, the supported value is\n 2018-05-29. Note\n that when using VTL and mapping templates, the functionVersion is required.

" + "smithy.api#documentation": "

The version of the request mapping template. Currently, the supported value\n is 2018-05-29. Note that when using VTL and mapping templates, the\n functionVersion is required.

" } }, "syncConfig": { @@ -6686,9 +7033,12 @@ "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The function code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.

" + "smithy.api#documentation": "

The function code that contains the request and response functions. When\n code is used, the runtime is required. The runtime value must be\n APPSYNC_JS.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateFunctionResponse": { @@ -6700,6 +7050,9 @@ "smithy.api#documentation": "

The Function object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateGraphqlApi": { @@ -6772,7 +7125,7 @@ "userPoolConfig": { "target": "com.amazonaws.appsync#UserPoolConfig", "traits": { - "smithy.api#documentation": "

The new Amazon Cognito user pool configuration for the ~GraphqlApi object.

" + "smithy.api#documentation": "

The new Amazon Cognito user pool configuration for the ~GraphqlApi\n object.

" } }, "openIDConnectConfig": { @@ -6784,14 +7137,14 @@ "additionalAuthenticationProviders": { "target": "com.amazonaws.appsync#AdditionalAuthenticationProviders", "traits": { - "smithy.api#documentation": "

A list of additional authentication providers for the GraphqlApi API.

" + "smithy.api#documentation": "

A list of additional authentication providers for the GraphqlApi\n API.

" } }, "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for the GraphqlApi.

" + "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for the\n GraphqlApi.

" } }, "lambdaAuthorizerConfig": { @@ -6800,6 +7153,9 @@ "smithy.api#documentation": "

Configuration for Lambda function authorization.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateGraphqlApiResponse": { @@ -6811,6 +7167,9 @@ "smithy.api#documentation": "

The updated GraphqlApi object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateResolver": { @@ -6883,7 +7242,7 @@ "requestMappingTemplate": { "target": "com.amazonaws.appsync#MappingTemplate", "traits": { - "smithy.api#documentation": "

The new request mapping template.

\n

A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source\n can understand. Mapping templates are written in Apache Velocity Template Language (VTL).

\n

VTL request mapping templates are optional when using an Lambda data source. For all other\n data sources, VTL request and response mapping templates are required.

" + "smithy.api#documentation": "

The new request mapping template.

\n

A resolver uses a request mapping template to convert a GraphQL expression into a format\n that a data source can understand. Mapping templates are written in Apache Velocity\n Template Language (VTL).

\n

VTL request mapping templates are optional when using an Lambda data\n source. For all other data sources, VTL request and response mapping templates are\n required.

" } }, "responseMappingTemplate": { @@ -6895,7 +7254,7 @@ "kind": { "target": "com.amazonaws.appsync#ResolverKind", "traits": { - "smithy.api#documentation": "

The resolver type.

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

The resolver type.

\n " } }, "pipelineConfig": { @@ -6929,9 +7288,12 @@ "code": { "target": "com.amazonaws.appsync#Code", "traits": { - "smithy.api#documentation": "

The resolver code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.

" + "smithy.api#documentation": "

The resolver code that contains the request and response functions. When\n code is used, the runtime is required. The runtime value must be\n APPSYNC_JS.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateResolverResponse": { @@ -6943,6 +7305,9 @@ "smithy.api#documentation": "

The updated Resolver object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UpdateType": { @@ -7011,6 +7376,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.appsync#UpdateTypeResponse": { @@ -7022,6 +7390,9 @@ "smithy.api#documentation": "

The updated Type object.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.appsync#UserPoolConfig": { @@ -7044,14 +7415,14 @@ "defaultAction": { "target": "com.amazonaws.appsync#DefaultAction", "traits": { - "smithy.api#documentation": "

The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool\n authentication doesn't match the Amazon Cognito user pool configuration.

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

The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool\n configuration.

", "smithy.api#required": {} } }, "appIdClientRegex": { "target": "com.amazonaws.appsync#String", "traits": { - "smithy.api#documentation": "

A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value\n isn't set, no filtering is applied.

" + "smithy.api#documentation": "

A regular expression for validating the incoming Amazon Cognito user pool app client\n ID. If this value isn't set, no filtering is applied.

" } } }, diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index e25ba9eb060..22922ada688 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -48173,7 +48173,13 @@ "target": "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsResult" }, "traits": { - "smithy.api#documentation": "

Gets the findings for the specified Network Access Scope analysis.

" + "smithy.api#documentation": "

Gets the findings for the specified Network Access Scope analysis.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "AnalysisFindings", + "pageSize": "MaxResults" + } } }, "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsRequest": { diff --git a/codegen/sdk-codegen/aws-models/inspector2.json b/codegen/sdk-codegen/aws-models/inspector2.json index f010ccc0247..fd6b12ee28f 100644 --- a/codegen/sdk-codegen/aws-models/inspector2.json +++ b/codegen/sdk-codegen/aws-models/inspector2.json @@ -579,7 +579,7 @@ } ], "traits": { - "smithy.api#documentation": "

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.

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

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.

", "smithy.api#http": { "code": 200, "method": "POST", @@ -631,7 +631,7 @@ "lambda": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.\n

" + "smithy.api#documentation": "

Represents whether AWS Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.\n

" } } }, @@ -1104,6 +1104,137 @@ } } }, + "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionstatus/member/batch/get" + } + } + }, + "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#AccountIdSet", + "traits": { + "smithy.api#documentation": "

The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for.\n \n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusResponse": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts.\n \n

" + } + }, + "failedAccountIds": { + "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why.\n \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionstatus/member/batch/update" + } + } + }, + "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusList", + "traits": { + "smithy.api#documentation": "

The unique identifiers for the Amazon Web Services accounts to change Amazon Inspector deep inspection status for.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusResponse": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status was successfully changed for. \n

" + } + }, + "failedAccountIds": { + "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status could not be successfully changed for. \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.inspector2#CancelFindingsReport": { "type": "operation", "input": { @@ -1625,7 +1756,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a finding report.

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

Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.

", "smithy.api#http": { "code": 200, "method": "POST", @@ -2023,7 +2154,7 @@ "keyPrefix": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

The prefix of the KMS key used to export findings.

" + "smithy.api#documentation": "

The prefix of the Amazon S3 bucket used to export findings.

" } }, "kmsKeyArn": { @@ -2235,6 +2366,29 @@ } } }, + "com.amazonaws.inspector2#Ec2DeepInspectionStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVATED", + "name": "ACTIVATED" + }, + { + "value": "DEACTIVATED", + "name": "DEACTIVATED" + }, + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, "com.amazonaws.inspector2#Ec2InstanceAggregation": { "type": "structure", "members": { @@ -2878,6 +3032,45 @@ } } }, + "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusState": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection.

", + "smithy.api#required": {} + } + }, + "ec2ScanStatus": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message explaining why the account failed to activate Amazon Inspector deep inspection.

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

An object that contains details about a member account in your organization that failed to activate Amazon Inspector deep inspection.

" + } + }, + "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, "com.amazonaws.inspector2#FilePath": { "type": "string", "traits": { @@ -3398,8 +3591,9 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 1024 - } + "max": 100 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:finding/[a-f0-9]{32}$" } }, "com.amazonaws.inspector2#FindingDescription": { @@ -3807,6 +4001,76 @@ } } }, + "com.amazonaws.inspector2#GetEc2DeepInspectionConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account. \n

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionconfiguration/get" + } + } + }, + "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationRequest": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationResponse": { + "type": "structure", + "members": { + "packagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths for your account.

" + } + }, + "orgPackagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths for your organization.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", + "traits": { + "smithy.api#documentation": "

The activation status of Amazon Inspector deep inspection in your account.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.inspector2#GetFindingsReportStatus": { "type": "operation", "input": { @@ -4105,6 +4369,12 @@ { "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfo" }, + { + "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatus" + }, + { + "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatus" + }, { "target": "com.amazonaws.inspector2#CancelFindingsReport" }, @@ -4141,6 +4411,9 @@ { "target": "com.amazonaws.inspector2#GetDelegatedAdminAccount" }, + { + "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfiguration" + }, { "target": "com.amazonaws.inspector2#GetFindingsReportStatus" }, @@ -4186,11 +4459,17 @@ { "target": "com.amazonaws.inspector2#UpdateConfiguration" }, + { + "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfiguration" + }, { "target": "com.amazonaws.inspector2#UpdateFilter" }, { "target": "com.amazonaws.inspector2#UpdateOrganizationConfiguration" + }, + { + "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfiguration" } ], "traits": { @@ -4572,8 +4851,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4585,8 +4864,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4598,8 +4877,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4611,8 +4890,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4624,8 +4903,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4637,8 +4916,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4650,8 +4929,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4663,8 +4942,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4676,8 +4955,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4689,8 +4968,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4702,8 +4981,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4715,8 +4994,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4728,8 +5007,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4741,8 +5020,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4754,8 +5033,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4767,8 +5046,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4780,8 +5059,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4793,8 +5072,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4806,8 +5085,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4819,8 +5098,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4832,8 +5111,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4845,8 +5124,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4858,8 +5137,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4871,8 +5150,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4884,8 +5163,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4897,8 +5176,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -4910,8 +5189,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4923,8 +5202,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -4936,8 +5215,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4949,8 +5228,19 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4962,8 +5252,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -4975,8 +5276,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -4988,8 +5300,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -5001,8 +5324,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -5014,8 +5337,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -5027,8 +5350,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -5039,8 +5362,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -5051,10 +5374,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -6375,6 +6704,79 @@ "smithy.api#documentation": "

Details on a member account in your organization.

" } }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatus": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member.

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

Whether Amazon Inspector deep inspection is active in the account. If TRUE Amazon Inspector deep inspection is active, if FALSE it is not active.

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

An object that contains details about the status of Amazon Inspector deep inspection for a member account in your organization.

" + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatus" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusState": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", + "traits": { + "smithy.api#documentation": "

The state of Amazon Inspector deep inspection in the member account.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message explaining why the account failed to activate Amazon Inspector deep inspection.

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

An object that contains details about the state of Amazon Inspector deep inspection for a member account.

" + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, "com.amazonaws.inspector2#MemberList": { "type": "list", "member": { @@ -6747,6 +7149,10 @@ { "value": "POM", "name": "POM" + }, + { + "value": "GEMSPEC", + "name": "GEMSPEC" } ] } @@ -6882,6 +7288,27 @@ "smithy.api#documentation": "

Information about a package vulnerability finding.

" } }, + "com.amazonaws.inspector2#Path": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + }, + "smithy.api#pattern": "^(?:/(?:\\.[-\\w]+|[-\\w]+(?:\\.[-\\w]+)?))+/?$" + } + }, + "com.amazonaws.inspector2#PathList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Path" + }, + "traits": { + "smithy.api#length": { + "max": 5 + } + } + }, "com.amazonaws.inspector2#Permission": { "type": "structure", "members": { @@ -7417,7 +7844,7 @@ "lambda": { "target": "com.amazonaws.inspector2#Status", "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector scanning for AWS Lambda function resources.

" + "smithy.api#documentation": "

The status of Amazon Inspector scanning for AWS Lambda function.

" } } }, @@ -7619,6 +8046,30 @@ { "value": "UNSUPPORTED_RUNTIME", "name": "UNSUPPORTED_RUNTIME" + }, + { + "value": "UNSUPPORTED_MEDIA_TYPE", + "name": "UNSUPPORTED_MEDIA_TYPE" + }, + { + "value": "UNSUPPORTED_CONFIG_FILE", + "name": "UNSUPPORTED_CONFIG_FILE" + }, + { + "value": "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED", + "name": "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" + }, + { + "value": "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED", + "name": "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" + }, + { + "value": "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED", + "name": "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" + }, + { + "value": "DEEP_INSPECTION_NO_INVENTORY", + "name": "DEEP_INSPECTION_NO_INVENTORY" } ] } @@ -8370,6 +8821,89 @@ "type": "structure", "members": {} }, + "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionconfiguration/update" + } + } + }, + "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationRequest": { + "type": "structure", + "members": { + "activateDeepInspection": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specify TRUE to activate Amazon Inspector deep inspection in your account, or FALSE to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

" + } + }, + "packagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths you are adding for your account.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationResponse": { + "type": "structure", + "members": { + "packagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The current Amazon Inspector deep inspection custom paths for your account.

" + } + }, + "orgPackagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The current Amazon Inspector deep inspection custom paths for the organization.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector deep inspection in your account.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.inspector2#UpdateFilter": { "type": "operation", "input": { @@ -8458,6 +8992,59 @@ } } }, + "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionconfiguration/org/update" + } + } + }, + "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationRequest": { + "type": "structure", + "members": { + "orgPackagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths you are adding for your organization.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.inspector2#UpdateOrganizationConfiguration": { "type": "operation", "input": { @@ -8825,4 +9412,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/iottwinmaker.json b/codegen/sdk-codegen/aws-models/iottwinmaker.json index fa1eccb27ba..48111b39a16 100644 --- a/codegen/sdk-codegen/aws-models/iottwinmaker.json +++ b/codegen/sdk-codegen/aws-models/iottwinmaker.json @@ -479,9 +479,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -492,9 +492,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -505,9 +505,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -518,9 +518,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -531,9 +531,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -544,9 +544,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -557,9 +557,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -570,9 +570,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -583,9 +583,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -596,9 +596,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -609,9 +609,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -622,9 +622,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -635,9 +635,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -648,9 +648,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -661,9 +661,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -674,9 +674,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -687,9 +687,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -698,9 +698,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -711,9 +711,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -722,9 +722,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -735,9 +735,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -746,9 +746,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -759,9 +759,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -770,9 +770,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -783,9 +783,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -796,9 +796,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -821,9 +821,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -833,9 +833,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -3719,6 +3719,12 @@ "traits": { "smithy.api#documentation": "

The generated scene metadata.

" } + }, + "error": { + "target": "com.amazonaws.iottwinmaker#SceneError", + "traits": { + "smithy.api#documentation": "

The SceneResponse error.

" + } } } }, @@ -5633,6 +5639,37 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.iottwinmaker#SceneError": { + "type": "structure", + "members": { + "code": { + "target": "com.amazonaws.iottwinmaker#SceneErrorCode", + "traits": { + "smithy.api#documentation": "

The SceneError code.

" + } + }, + "message": { + "target": "com.amazonaws.iottwinmaker#ErrorMessage", + "traits": { + "smithy.api#documentation": "

The SceneError message.

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

The scene error.

" + } + }, + "com.amazonaws.iottwinmaker#SceneErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "MATTERPORT_ERROR", + "value": "MATTERPORT_ERROR" + } + ] + } + }, "com.amazonaws.iottwinmaker#SceneMetadataMap": { "type": "map", "key": { diff --git a/codegen/sdk-codegen/aws-models/network-firewall.json b/codegen/sdk-codegen/aws-models/network-firewall.json index c5c1777db1a..cc0ae1a257e 100644 --- a/codegen/sdk-codegen/aws-models/network-firewall.json +++ b/codegen/sdk-codegen/aws-models/network-firewall.json @@ -305,7 +305,7 @@ "StatusMessage": { "target": "com.amazonaws.networkfirewall#StatusMessage", "traits": { - "smithy.api#documentation": "

If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the failure and how to resolve it. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

" + "smithy.api#documentation": "

If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the error or failure and how to resolve it. A FAILED status indicates a non-recoverable state, and a ERROR status indicates an issue that you can fix. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the causes for failiure or errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

" } } }, @@ -339,6 +339,18 @@ "traits": { "smithy.api#enumValue": "READY" } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } } } }, @@ -2109,6 +2121,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the TLS inspection configuration.

" } + }, + "PolicyVariables": { + "target": "com.amazonaws.networkfirewall#PolicyVariables", + "traits": { + "smithy.api#documentation": "

Contains variables that you can use to override default Suricata settings in your firewall policy.

" + } } }, "traits": { @@ -4339,6 +4357,20 @@ "smithy.api#pattern": "\\S" } }, + "com.amazonaws.networkfirewall#PolicyVariables": { + "type": "structure", + "members": { + "RuleVariables": { + "target": "com.amazonaws.networkfirewall#IPSets", + "traits": { + "smithy.api#documentation": "

The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata HOME_NET variable. If your firewall uses an inspection VPC, you might want to override the HOME_NET variable with the CIDRs of your home networks. If you don't override HOME_NET with your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.

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

Contains variables that you can use to override default Suricata settings in your firewall policy.

" + } + }, "com.amazonaws.networkfirewall#Port": { "type": "string", "traits": { @@ -4495,7 +4527,7 @@ "Policy": { "target": "com.amazonaws.networkfirewall#PolicyString", "traits": { - "smithy.api#documentation": "

The IAM policy statement that lists the accounts that you want to share your rule group or firewall policy with\n and the operations that you want the accounts to be able to perform.

\n

For a rule group resource, you can specify the following operations in the Actions section of the statement:

\n \n

For a firewall policy resource, you can specify the following operations in the Actions section of the statement:

\n \n

In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you want to share with the account that you specified in Arn.

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

The IAM policy statement that lists the accounts that you want to share your rule group or firewall policy with\n and the operations that you want the accounts to be able to perform.

\n

For a rule group resource, you can specify the following operations in the Actions section of the statement:

\n \n

For a firewall policy resource, you can specify the following operations in the Actions section of the statement:

\n \n

In the Resource section of the statement, you specify the ARNs for the rule groups and firewall policies that you want to share with the account that you specified in Arn.

", "smithy.api#required": {} } } @@ -4924,7 +4956,7 @@ "StatefulRules": { "target": "com.amazonaws.networkfirewall#StatefulRules", "traits": { - "smithy.api#documentation": "

An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" + "smithy.api#documentation": "

An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" } }, "StatelessRulesAndCustomActions": { @@ -5173,7 +5205,7 @@ "Action": { "target": "com.amazonaws.networkfirewall#StatefulAction", "traits": { - "smithy.api#documentation": "

Defines what Network Firewall should do with the packets in a traffic flow when the flow\n matches the stateful rule criteria. For all actions, Network Firewall performs the specified\n action and discontinues stateful inspection of the traffic flow.

\n

The actions for a stateful rule are defined as follows:

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

Defines what Network Firewall should do with the packets in a traffic flow when the flow\n matches the stateful rule criteria. For all actions, Network Firewall performs the specified\n action and discontinues stateful inspection of the traffic flow.

\n

The actions for a stateful rule are defined as follows:

\n ", "smithy.api#required": {} } }, @@ -5193,7 +5225,7 @@ } }, "traits": { - "smithy.api#documentation": "

A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" + "smithy.api#documentation": "

A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" } }, "com.amazonaws.networkfirewall#StatefulRuleDirection": { diff --git a/codegen/sdk-codegen/aws-models/opensearch.json b/codegen/sdk-codegen/aws-models/opensearch.json index 3e88158f3b7..012c85ba476 100644 --- a/codegen/sdk-codegen/aws-models/opensearch.json +++ b/codegen/sdk-codegen/aws-models/opensearch.json @@ -528,6 +528,9 @@ { "target": "com.amazonaws.opensearch#DescribeDomainConfig" }, + { + "target": "com.amazonaws.opensearch#DescribeDomainHealth" + }, { "target": "com.amazonaws.opensearch#DescribeDomains" }, @@ -1009,8 +1012,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1022,8 +1025,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1035,8 +1038,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1048,8 +1051,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1061,8 +1064,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1074,8 +1077,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1087,8 +1090,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1100,8 +1103,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1113,8 +1116,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1126,8 +1129,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1139,8 +1142,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1152,8 +1155,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1165,8 +1168,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1178,8 +1181,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1191,8 +1194,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1204,8 +1207,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1217,8 +1220,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1230,8 +1233,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1243,8 +1246,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1256,8 +1259,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1269,8 +1272,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1282,8 +1285,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1295,8 +1298,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1308,8 +1311,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1321,8 +1324,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1334,8 +1337,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1347,8 +1350,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1360,8 +1363,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1373,8 +1376,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1386,8 +1389,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1399,8 +1402,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1412,8 +1415,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1425,8 +1428,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1438,8 +1441,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1451,8 +1454,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1464,8 +1467,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1477,8 +1480,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -1490,8 +1493,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1503,8 +1506,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1516,8 +1519,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -1529,8 +1532,19 @@ }, "params": { "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1542,8 +1556,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1555,8 +1580,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -1568,8 +1604,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -1581,8 +1628,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1594,8 +1641,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1606,8 +1653,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1618,10 +1665,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -2138,6 +2191,71 @@ "smithy.api#documentation": "

Specifies the Auto-Tune type. Valid value is SCHEDULED_ACTION.

" } }, + "com.amazonaws.opensearch#AvailabilityZone": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 15 + } + } + }, + "com.amazonaws.opensearch#AvailabilityZoneInfo": { + "type": "structure", + "members": { + "AvailabilityZoneName": { + "target": "com.amazonaws.opensearch#AvailabilityZone", + "traits": { + "smithy.api#documentation": "

The name of the Availability Zone.

" + } + }, + "ZoneStatus": { + "target": "com.amazonaws.opensearch#ZoneStatus", + "traits": { + "smithy.api#documentation": "

The current state of the Availability Zone. Current options are Active and StandBy.

\n " + } + }, + "ConfiguredDataNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "

The total number of data nodes configured in the Availability Zone.

" + } + }, + "AvailableDataNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "

The number of data nodes active in the Availability Zone.

" + } + }, + "TotalShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "

The total number of primary and replica shards in the Availability Zone.

" + } + }, + "TotalUnAssignedShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "

The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.

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

Information about an Availability Zone on a domain.

" + } + }, + "com.amazonaws.opensearch#AvailabilityZoneInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#AvailabilityZoneInfo" + } + }, + "com.amazonaws.opensearch#AvailabilityZoneList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#AvailabilityZone" + } + }, "com.amazonaws.opensearch#BackendRole": { "type": "string", "traits": { @@ -2419,7 +2537,7 @@ "DedicatedMasterCount": { "target": "com.amazonaws.opensearch#IntegerClass", "traits": { - "smithy.api#documentation": "

Number of dedicated master nodes in the cluster. This number must be greater than 1,\n otherwise you receive a validation exception.

" + "smithy.api#documentation": "

Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4,\n otherwise you receive a validation exception.

" } }, "WarmEnabled": { @@ -2445,6 +2563,12 @@ "traits": { "smithy.api#documentation": "

Container for cold storage configuration options.

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

A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.

" + } } }, "traits": { @@ -2993,7 +3117,7 @@ "PackageType": { "target": "com.amazonaws.opensearch#PackageType", "traits": { - "smithy.api#documentation": "

Type of package.

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

The type of package.

", "smithy.api#required": {} } }, @@ -3721,6 +3845,144 @@ "smithy.api#output": {} } }, + "com.amazonaws.opensearch#DescribeDomainHealth": { + "type": "operation", + "input": { + "target": "com.amazonaws.opensearch#DescribeDomainHealthRequest" + }, + "output": { + "target": "com.amazonaws.opensearch#DescribeDomainHealthResponse" + }, + "errors": [ + { + "target": "com.amazonaws.opensearch#BaseException" + }, + { + "target": "com.amazonaws.opensearch#DisabledOperationException" + }, + { + "target": "com.amazonaws.opensearch#InternalException" + }, + { + "target": "com.amazonaws.opensearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.opensearch#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.

", + "smithy.api#http": { + "method": "GET", + "uri": "/2021-01-01/opensearch/domain/{DomainName}/health", + "code": 200 + } + } + }, + "com.amazonaws.opensearch#DescribeDomainHealthRequest": { + "type": "structure", + "members": { + "DomainName": { + "target": "com.amazonaws.opensearch#DomainName", + "traits": { + "smithy.api#documentation": "

The name of the domain.

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

Container for the parameters to the DescribeDomainHealth operation.

", + "smithy.api#input": {} + } + }, + "com.amazonaws.opensearch#DescribeDomainHealthResponse": { + "type": "structure", + "members": { + "DomainState": { + "target": "com.amazonaws.opensearch#DomainState", + "traits": { + "smithy.api#documentation": "

The current state of the domain.

\n " + } + }, + "AvailabilityZoneCount": { + "target": "com.amazonaws.opensearch#NumberOfAZs", + "traits": { + "smithy.api#documentation": "

The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

" + } + }, + "ActiveAvailabilityZoneCount": { + "target": "com.amazonaws.opensearch#NumberOfAZs", + "traits": { + "smithy.api#documentation": "

The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

" + } + }, + "StandByAvailabilityZoneCount": { + "target": "com.amazonaws.opensearch#NumberOfAZs", + "traits": { + "smithy.api#documentation": "

The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

" + } + }, + "DataNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "

The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.

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

A boolean that indicates if dedicated master nodes are activated for the domain.

" + } + }, + "MasterEligibleNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "

The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain.\n If the service is unable to fetch this information, it will return NotAvailable.

" + } + }, + "WarmNodeCount": { + "target": "com.amazonaws.opensearch#NumberOfNodes", + "traits": { + "smithy.api#documentation": "

The number of warm nodes configured for the domain.

" + } + }, + "MasterNode": { + "target": "com.amazonaws.opensearch#MasterNodeStatus", + "traits": { + "smithy.api#documentation": "

Indicates whether the domain has an elected master node.

\n " + } + }, + "ClusterHealth": { + "target": "com.amazonaws.opensearch#DomainHealth", + "traits": { + "smithy.api#documentation": "

The current health status of your cluster.

\n " + } + }, + "TotalShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "

The total number of primary and replica shards for the domain.

" + } + }, + "TotalUnAssignedShards": { + "target": "com.amazonaws.opensearch#NumberOfShards", + "traits": { + "smithy.api#documentation": "

The total number of primary and replica shards not allocated to any of the nodes for the cluster.

" + } + }, + "EnvironmentInformation": { + "target": "com.amazonaws.opensearch#EnvironmentInfoList", + "traits": { + "smithy.api#documentation": "

A list of EnvironmentInfo for the domain.

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

The result of a DescribeDomainHealth request. Contains health information for the requested domain.

", + "smithy.api#output": {} + } + }, "com.amazonaws.opensearch#DescribeDomainRequest": { "type": "structure", "members": { @@ -4559,7 +4821,7 @@ } }, "traits": { - "smithy.api#documentation": "

An error occured because the client wanted to access a not supported operation.

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

An error occured because the client wanted to access an unsupported operation.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4821,6 +5083,35 @@ "smithy.api#documentation": "

The configured endpoint options for a domain and their current status.

" } }, + "com.amazonaws.opensearch#DomainHealth": { + "type": "enum", + "members": { + "Red": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Red" + } + }, + "Yellow": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Yellow" + } + }, + "Green": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Green" + } + }, + "NotAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAvailable" + } + } + } + }, "com.amazonaws.opensearch#DomainId": { "type": "string", "traits": { @@ -4952,7 +5243,7 @@ "ReferencePath": { "target": "com.amazonaws.opensearch#ReferencePath", "traits": { - "smithy.api#documentation": "

Denotes the location of the package on the OpenSearch Service cluster nodes. It's the same\n as synonym_path for dictionary files.

" + "smithy.api#documentation": "

The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path\n when the package is for synonym files.

" } }, "ErrorDetails": { @@ -5007,6 +5298,29 @@ } } }, + "com.amazonaws.opensearch#DomainState": { + "type": "enum", + "members": { + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "Processing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Processing" + } + }, + "NotAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAvailable" + } + } + } + }, "com.amazonaws.opensearch#DomainStatus": { "type": "structure", "members": { @@ -5441,6 +5755,26 @@ } } }, + "com.amazonaws.opensearch#EnvironmentInfo": { + "type": "structure", + "members": { + "AvailabilityZoneInformation": { + "target": "com.amazonaws.opensearch#AvailabilityZoneInfoList", + "traits": { + "smithy.api#documentation": "

A list of AvailabilityZoneInfo for the domain.

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

Information about the active domain environment.

" + } + }, + "com.amazonaws.opensearch#EnvironmentInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.opensearch#EnvironmentInfo" + } + }, "com.amazonaws.opensearch#ErrorDetails": { "type": "structure", "members": { @@ -5594,7 +5928,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of Amazon OpenSearch Service package versions, along with their creation time\n and commit message. For more information, see Custom packages for Amazon\n OpenSearch Service.

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

Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the \n package is a zip plugin package). For more information, see Custom packages for Amazon\n OpenSearch Service.

", "smithy.api#http": { "method": "GET", "uri": "/2021-01-01/packages/{PackageID}/history", @@ -6062,6 +6396,12 @@ "traits": { "smithy.api#documentation": "

Whether the instance acts as a data node, a dedicated master node, or an UltraWarm\n node.

" } + }, + "AvailabilityZones": { + "target": "com.amazonaws.opensearch#AvailabilityZoneList", + "traits": { + "smithy.api#documentation": "

The supported Availability Zones for the instance type.

" + } } }, "traits": { @@ -6074,6 +6414,16 @@ "target": "com.amazonaws.opensearch#InstanceTypeDetails" } }, + "com.amazonaws.opensearch#InstanceTypeString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 10, + "max": 40 + }, + "smithy.api#pattern": "^.*\\..*\\.search$" + } + }, "com.amazonaws.opensearch#Integer": { "type": "integer", "traits": { @@ -6110,7 +6460,7 @@ } }, "traits": { - "smithy.api#documentation": "

The request processing has failed because you provided an invalid pagination token.

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

Request processing failed because you provided an invalid pagination token.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -6409,7 +6759,7 @@ "EngineVersion": { "target": "com.amazonaws.opensearch#VersionString", "traits": { - "smithy.api#documentation": "

Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.\n Defaults to the latest version of OpenSearch.

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

The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.\n Defaults to the latest version of OpenSearch.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6417,7 +6767,7 @@ "DomainName": { "target": "com.amazonaws.opensearch#DomainName", "traits": { - "smithy.api#documentation": "

Name of the domain to list instance type details for.

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

The name of the domain.

", "smithy.api#httpQuery": "domainName" } }, @@ -6435,6 +6785,20 @@ "smithy.api#documentation": "

If your initial ListInstanceTypeDetails operation returns a\n nextToken, you can include the returned nextToken in subsequent\n ListInstanceTypeDetails operations, which returns results in the next page.

", "smithy.api#httpQuery": "nextToken" } + }, + "RetrieveAZs": { + "target": "com.amazonaws.opensearch#Boolean", + "traits": { + "smithy.api#documentation": "

An optional parameter that specifies the Availability Zones for the domain.

", + "smithy.api#httpQuery": "retrieveAZs" + } + }, + "InstanceType": { + "target": "com.amazonaws.opensearch#InstanceTypeString", + "traits": { + "smithy.api#documentation": "

An optional parameter that lists information for a given instance type.

", + "smithy.api#httpQuery": "instanceType" + } } }, "traits": { @@ -7088,6 +7452,23 @@ "com.amazonaws.opensearch#Long": { "type": "long" }, + "com.amazonaws.opensearch#MasterNodeStatus": { + "type": "enum", + "members": { + "Available": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Available" + } + }, + "UnAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UnAvailable" + } + } + } + }, "com.amazonaws.opensearch#MasterUserOptions": { "type": "structure", "members": { @@ -7199,6 +7580,24 @@ "smithy.api#pattern": "^[a-zA-Z0-9\\-\\_\\.]+$" } }, + "com.amazonaws.opensearch#NumberOfAZs": { + "type": "string", + "traits": { + "smithy.api#pattern": "^((\\d+)|(NotAvailable))$" + } + }, + "com.amazonaws.opensearch#NumberOfNodes": { + "type": "string", + "traits": { + "smithy.api#pattern": "^((\\d+)|(NotAvailable))$" + } + }, + "com.amazonaws.opensearch#NumberOfShards": { + "type": "string", + "traits": { + "smithy.api#pattern": "^((\\d+)|(NotAvailable))$" + } + }, "com.amazonaws.opensearch#OffPeakWindow": { "type": "structure", "members": { @@ -7219,7 +7618,7 @@ "Enabled": { "target": "com.amazonaws.opensearch#Boolean", "traits": { - "smithy.api#documentation": "

Whether to enable an off-peak window.

\n

This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain.\n All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.

" + "smithy.api#documentation": "

Whether to enable an off-peak window.

\n

This option is only available when modifying a domain created prior to February 16, 2023,\n not when creating a new domain. All domains created after this date have the off-peak window\n enabled by default. You can't disable the off-peak window after it's enabled for a domain.

" } }, "OffPeakWindow": { @@ -8123,7 +8522,7 @@ "PackageName": { "target": "com.amazonaws.opensearch#PackageName", "traits": { - "smithy.api#documentation": "

User-specified name of the package.

" + "smithy.api#documentation": "

The user-specified name of the package.

" } }, "PackageType": { @@ -8141,7 +8540,7 @@ "PackageStatus": { "target": "com.amazonaws.opensearch#PackageStatus", "traits": { - "smithy.api#documentation": "

Current status of the package.

" + "smithy.api#documentation": "

The current status of the package. The available options are AVAILABLE, COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED, DELETING, and DELETE_FAILED.

" } }, "CreatedAt": { @@ -8814,7 +9213,7 @@ } }, "traits": { - "smithy.api#documentation": "

An exception for accessing or deleting a resource that does not exist..

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

An exception for accessing or deleting a resource that doesn't exist.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -9774,7 +10173,7 @@ "AdvancedOptions": { "target": "com.amazonaws.opensearch#AdvancedOptions", "traits": { - "smithy.api#documentation": "

Key-value pairs to specify advanced configuration options. The following key-value pairs are\n supported:

\n \n

For more information, see Advanced cluster parameters.

" + "smithy.api#documentation": "

Key-value pairs to specify advanced configuration options. The following key-value pairs are\n supported:

\n \n

For more information, see Advanced cluster parameters.

" } }, "AccessPolicies": { @@ -10844,6 +11243,29 @@ "traits": { "smithy.api#documentation": "

The zone awareness configuration for an Amazon OpenSearch Service domain.

" } + }, + "com.amazonaws.opensearch#ZoneStatus": { + "type": "enum", + "members": { + "Active": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Active" + } + }, + "StandBy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StandBy" + } + }, + "NotAvailable": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotAvailable" + } + } + } } } } diff --git a/codegen/sdk-codegen/aws-models/wellarchitected.json b/codegen/sdk-codegen/aws-models/wellarchitected.json index f0293d5ddb8..6c6689420c0 100644 --- a/codegen/sdk-codegen/aws-models/wellarchitected.json +++ b/codegen/sdk-codegen/aws-models/wellarchitected.json @@ -1491,6 +1491,23 @@ "smithy.api#output": {} } }, + "com.amazonaws.wellarchitected#DefinitionType": { + "type": "enum", + "members": { + "WORKLOAD_METADATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKLOAD_METADATA" + } + }, + "APP_REGISTRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APP_REGISTRY" + } + } + } + }, "com.amazonaws.wellarchitected#DeleteLens": { "type": "operation", "input": { @@ -1837,6 +1854,23 @@ "smithy.api#input": {} } }, + "com.amazonaws.wellarchitected#DiscoveryIntegrationStatus": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.wellarchitected#DisplayText": { "type": "string", "traits": { @@ -5701,7 +5735,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates whether the Amazon Web Services account is opted into organization sharing features.

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

Updates whether the Amazon Web Services account is opted into organization sharing and discovery integration features.

", "smithy.api#http": { "method": "PATCH", "uri": "/global-settings", @@ -5717,6 +5751,12 @@ "traits": { "smithy.api#documentation": "

The status of organization sharing settings.

" } + }, + "DiscoveryIntegrationStatus": { + "target": "com.amazonaws.wellarchitected#DiscoveryIntegrationStatus", + "traits": { + "smithy.api#documentation": "

The status of discovery support settings.

" + } } }, "traits": { @@ -6767,9 +6807,9 @@ } }, "params": { + "Region": "ap-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { @@ -6780,9 +6820,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -6793,9 +6833,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -6806,9 +6846,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -6819,9 +6859,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -6832,9 +6872,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -6845,9 +6885,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -6858,9 +6898,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -6871,9 +6911,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -6884,9 +6924,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -6897,9 +6937,9 @@ } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -6910,9 +6950,9 @@ } }, "params": { + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -6923,9 +6963,9 @@ } }, "params": { + "Region": "me-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -6936,9 +6976,9 @@ } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -6949,9 +6989,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -6962,9 +7002,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -6975,9 +7015,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -6988,9 +7028,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -7001,9 +7041,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -7014,9 +7054,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -7027,9 +7067,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -7040,9 +7080,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -7053,9 +7093,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -7066,9 +7106,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -7079,9 +7119,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -7092,9 +7132,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -7105,9 +7145,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -7118,9 +7158,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -7131,9 +7171,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -7142,9 +7182,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -7155,9 +7195,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -7166,9 +7206,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -7179,9 +7219,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -7190,9 +7230,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -7203,9 +7243,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -7214,9 +7254,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -7227,9 +7267,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -7240,9 +7280,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -7265,9 +7305,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -7277,9 +7317,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -7466,6 +7506,12 @@ "traits": { "smithy.api#documentation": "

Discovery integration status in respect to Trusted Advisor for the workload.

" } + }, + "WorkloadResourceDefinition": { + "target": "com.amazonaws.wellarchitected#WorkloadResourceDefinition", + "traits": { + "smithy.api#documentation": "

The mode to use for identifying resources associated with the workload.

\n

You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.

" + } } }, "traits": { @@ -7617,6 +7663,12 @@ "smithy.api#documentation": "

The priorities of the pillars, which are used to order items in the improvement plan.\n Each pillar is represented by its PillarReviewSummary$PillarId.

" } }, + "com.amazonaws.wellarchitected#WorkloadResourceDefinition": { + "type": "list", + "member": { + "target": "com.amazonaws.wellarchitected#DefinitionType" + } + }, "com.amazonaws.wellarchitected#WorkloadReviewOwner": { "type": "string", "traits": {