From a227ddc7773d739b0cc40d576303d13415c49fbc Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Tue, 22 Nov 2022 19:09:01 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/appflow.json | 363 +-- .../aws-models/kinesis-analytics-v2.json | 2303 +++++++++++++++-- 2 files changed, 2267 insertions(+), 399 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/appflow.json b/codegen/sdk-codegen/aws-models/appflow.json index 1d0ce0a2b92..0335ccd2146 100644 --- a/codegen/sdk-codegen/aws-models/appflow.json +++ b/codegen/sdk-codegen/aws-models/appflow.json @@ -542,6 +542,16 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.appflow#ClusterIdentifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 512 + }, + "smithy.api#pattern": "^\\S+$" + } + }, "com.amazonaws.appflow#ConflictException": { "type": "structure", "members": { @@ -1370,8 +1380,7 @@ "connectorProfileCredentials": { "target": "com.amazonaws.appflow#ConnectorProfileCredentials", "traits": { - "smithy.api#documentation": "

The connector-specific credentials required by each connector.

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

The connector-specific credentials required by each connector.

" } } }, @@ -2429,6 +2438,16 @@ "smithy.api#documentation": "

The connector metadata specific to Amazon Connect Customer Profiles.

" } }, + "com.amazonaws.appflow#DataApiRoleArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 512 + }, + "smithy.api#pattern": "^arn:aws:iam:.*:[0-9]+:" + } + }, "com.amazonaws.appflow#DataPullMode": { "type": "enum", "members": { @@ -2446,6 +2465,16 @@ } } }, + "com.amazonaws.appflow#DatabaseName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 512 + }, + "smithy.api#pattern": "^\\S+$" + } + }, "com.amazonaws.appflow#DatabaseUrl": { "type": "string", "traits": { @@ -5147,7 +5176,7 @@ "glueDataCatalog": { "target": "com.amazonaws.appflow#GlueDataCatalogConfig", "traits": { - "smithy.api#documentation": "

Specifies the configuration that Amazon AppFlow uses when it catalogs your data with the\n Glue Data Catalog.

" + "smithy.api#documentation": "

Specifies the configuration that Amazon AppFlow uses when it catalogs your data with\n the Glue Data Catalog.

" } } }, @@ -5179,7 +5208,7 @@ "partitionRegistrationOutput": { "target": "com.amazonaws.appflow#RegistrationOutput", "traits": { - "smithy.api#documentation": "

Describes the status of the attempt from Amazon AppFlow to register the data\n partitions with the metadata catalog. The data partitions organize the flow output into a\n hierarchical path, such as a folder path in an S3 bucket. Amazon AppFlow creates the\n partitions (if they don't already exist) based on your flow configuration.

" + "smithy.api#documentation": "

Describes the status of the attempt from Amazon AppFlow to register the data\n partitions with the metadata catalog. The data partitions organize the flow output into a\n hierarchical path, such as a folder path in an S3 bucket. Amazon AppFlow creates the\n partitions (if they don't already exist) based on your flow configuration.

" } } }, @@ -5952,7 +5981,7 @@ "prefixFormat": { "target": "com.amazonaws.appflow#PrefixFormat", "traits": { - "smithy.api#documentation": "

Determines the level of granularity for the date and time that's included in the prefix.

" + "smithy.api#documentation": "

Determines the level of granularity for the date and time that's included in the prefix.\n

" } }, "pathPrefixHierarchy": { @@ -6209,17 +6238,15 @@ "type": "structure", "members": { "username": { - "target": "com.amazonaws.appflow#Username", + "target": "com.amazonaws.appflow#String", "traits": { - "smithy.api#documentation": "

The name of the user.

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

The name of the user.

" } }, "password": { "target": "com.amazonaws.appflow#Password", "traits": { - "smithy.api#documentation": "

The password that corresponds to the user name.

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

The password that corresponds to the user name.

" } } }, @@ -6233,8 +6260,7 @@ "databaseUrl": { "target": "com.amazonaws.appflow#DatabaseUrl", "traits": { - "smithy.api#documentation": "

The JDBC URL of the Amazon Redshift cluster.

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

The JDBC URL of the Amazon Redshift cluster.

" } }, "bucketName": { @@ -6253,9 +6279,40 @@ "roleArn": { "target": "com.amazonaws.appflow#RoleArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role.

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

The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift\n read-only access to Amazon S3. For more information, and for the polices that you\n attach to this role, see Allow Amazon Redshift to access your Amazon AppFlow data in Amazon S3.

", "smithy.api#required": {} } + }, + "dataApiRoleArn": { + "target": "com.amazonaws.appflow#DataApiRoleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that permits Amazon AppFlow to access your Amazon Redshift database through the Data API. For more\n information, and for the polices that you attach to this role, see Allow Amazon AppFlow to access Amazon Redshift databases with the Data\n API.

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

Indicates whether the connector profile defines a connection to an Amazon Redshift\n Serverless data warehouse.

" + } + }, + "clusterIdentifier": { + "target": "com.amazonaws.appflow#ClusterIdentifier", + "traits": { + "smithy.api#documentation": "

The unique ID that's assigned to an Amazon Redshift cluster.

" + } + }, + "workgroupName": { + "target": "com.amazonaws.appflow#WorkgroupName", + "traits": { + "smithy.api#documentation": "

The name of an Amazon Redshift workgroup.

" + } + }, + "databaseName": { + "target": "com.amazonaws.appflow#DatabaseName", + "traits": { + "smithy.api#documentation": "

The name of an Amazon Redshift database.

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

Registers a new custom connector with your Amazon Web Services account. Before you can register\n the connector, you must deploy the associated AWS lambda function in your account.

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

Registers a new custom connector with your Amazon Web Services account. Before you can\n register the connector, you must deploy the associated AWS lambda function in your\n account.

", "smithy.api#http": { "method": "POST", "uri": "/register-connector", @@ -7371,7 +7428,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -7692,8 +7749,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -7705,8 +7762,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -7718,8 +7775,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -7731,8 +7788,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -7744,8 +7801,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -7757,8 +7814,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -7770,8 +7827,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -7783,8 +7840,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -7796,8 +7853,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -7809,8 +7866,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -7822,8 +7879,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -7835,8 +7892,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -7848,8 +7905,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -7861,8 +7918,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -7874,8 +7931,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -7887,8 +7944,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -7900,8 +7957,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -7913,8 +7970,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -7926,8 +7983,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -7939,8 +7996,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -7952,8 +8009,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -7965,8 +8022,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -7978,8 +8035,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -7991,8 +8048,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -8004,8 +8061,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -8017,8 +8074,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -8030,8 +8087,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -8043,8 +8100,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -8056,8 +8113,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -8069,8 +8126,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -8082,8 +8139,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -8095,8 +8152,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -8108,8 +8165,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -8121,8 +8178,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -8134,8 +8191,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -8147,8 +8204,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -8160,8 +8217,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -8173,8 +8230,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -8186,8 +8243,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -8199,8 +8256,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -8212,8 +8269,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -8225,8 +8282,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -8238,8 +8295,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -8251,8 +8308,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -8264,8 +8321,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -8277,8 +8334,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -8290,8 +8347,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -8303,8 +8360,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -8316,8 +8373,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -8329,8 +8386,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -8342,8 +8399,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -8355,8 +8412,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -8368,8 +8425,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -8381,8 +8438,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -8394,8 +8451,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -8407,8 +8464,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -8420,8 +8477,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -8433,8 +8490,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -8446,8 +8503,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -8459,8 +8516,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -8472,8 +8529,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -8485,8 +8542,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -8498,8 +8555,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -8511,8 +8568,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -8524,8 +8581,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -8536,8 +8593,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -8548,8 +8605,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } @@ -10229,7 +10286,7 @@ } ], "traits": { - "smithy.api#documentation": "

Unregisters the custom connector registered in your account that matches the\n connector label provided in the request.

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

Unregisters the custom connector registered in your account that matches the connector\n label provided in the request.

", "smithy.api#http": { "method": "POST", "uri": "/unregister-connector", @@ -10435,7 +10492,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a custom connector that you've previously registered. This operation updates the connector with one of the following:

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

Updates a custom connector that you've previously registered. This operation updates the\n connector with one of the following:

\n ", "smithy.api#http": { "method": "POST", "uri": "/update-connector-registration", @@ -10915,6 +10972,16 @@ "smithy.api#pattern": "^[\\s\\w/!@#+=.-]*$" } }, + "com.amazonaws.appflow#WorkgroupName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 512 + }, + "smithy.api#pattern": "^\\S+$" + } + }, "com.amazonaws.appflow#WriteOperationType": { "type": "enum", "members": { diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json index 1a4d9a1848e..468b23a8790 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -779,7 +779,7 @@ "RuntimeEnvironment": { "target": "com.amazonaws.kinesisanalyticsv2#RuntimeEnvironment", "traits": { - "smithy.api#documentation": "

The runtime environment for the application (SQL-1_0, FLINK-1_6, FLINK-1_8, or FLINK-1_11).

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

The runtime environment for the application.

", "smithy.api#required": {} } }, @@ -926,18 +926,20 @@ } }, "com.amazonaws.kinesisanalyticsv2#ApplicationMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STREAMING", - "name": "STREAMING" - }, - { - "value": "INTERACTIVE", - "name": "INTERACTIVE" + "type": "enum", + "members": { + "STREAMING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STREAMING" + } + }, + "INTERACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERACTIVE" } - ] + } } }, "com.amazonaws.kinesisanalyticsv2#ApplicationName": { @@ -972,22 +974,26 @@ } }, "com.amazonaws.kinesisanalyticsv2#ApplicationRestoreType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SKIP_RESTORE_FROM_SNAPSHOT", - "name": "SKIP_RESTORE_FROM_SNAPSHOT" - }, - { - "value": "RESTORE_FROM_LATEST_SNAPSHOT", - "name": "RESTORE_FROM_LATEST_SNAPSHOT" - }, - { - "value": "RESTORE_FROM_CUSTOM_SNAPSHOT", - "name": "RESTORE_FROM_CUSTOM_SNAPSHOT" + "type": "enum", + "members": { + "SKIP_RESTORE_FROM_SNAPSHOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SKIP_RESTORE_FROM_SNAPSHOT" + } + }, + "RESTORE_FROM_LATEST_SNAPSHOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTORE_FROM_LATEST_SNAPSHOT" + } + }, + "RESTORE_FROM_CUSTOM_SNAPSHOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTORE_FROM_CUSTOM_SNAPSHOT" } - ] + } } }, "com.amazonaws.kinesisanalyticsv2#ApplicationSnapshotConfiguration": { @@ -1036,54 +1042,74 @@ } }, "com.amazonaws.kinesisanalyticsv2#ApplicationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "STOPPING", - "name": "STOPPING" - }, - { - "value": "READY", - "name": "READY" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "UPDATING", - "name": "UPDATING" - }, - { - "value": "AUTOSCALING", - "name": "AUTOSCALING" - }, - { - "value": "FORCE_STOPPING", - "name": "FORCE_STOPPING" - }, - { - "value": "ROLLING_BACK", - "name": "ROLLING_BACK" - }, - { - "value": "MAINTENANCE", - "name": "MAINTENANCE" - }, - { - "value": "ROLLED_BACK", - "name": "ROLLED_BACK" + "type": "enum", + "members": { + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPING" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "UPDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATING" + } + }, + "AUTOSCALING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOSCALING" } - ] + }, + "FORCE_STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FORCE_STOPPING" + } + }, + "ROLLING_BACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLLING_BACK" + } + }, + "MAINTENANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAINTENANCE" + } + }, + "ROLLED_BACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLLED_BACK" + } + } } }, "com.amazonaws.kinesisanalyticsv2#ApplicationSummaries": { @@ -1144,7 +1170,6 @@ "com.amazonaws.kinesisanalyticsv2#ApplicationVersionId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999999999 @@ -1180,18 +1205,20 @@ } }, "com.amazonaws.kinesisanalyticsv2#ArtifactType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UDF", - "name": "UDF" - }, - { - "value": "DEPENDENCY_JAR", - "name": "DEPENDENCY_JAR" + "type": "enum", + "members": { + "UDF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UDF" + } + }, + "DEPENDENCY_JAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPENDENCY_JAR" } - ] + } } }, "com.amazonaws.kinesisanalyticsv2#AuthorizedUrl": { @@ -1214,10 +1241,7 @@ } }, "com.amazonaws.kinesisanalyticsv2#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesisanalyticsv2#BucketARN": { "type": "string", @@ -1396,7 +1420,6 @@ "com.amazonaws.kinesisanalyticsv2#CheckpointInterval": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1542,18 +1565,20 @@ } }, "com.amazonaws.kinesisanalyticsv2#CodeContentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PLAINTEXT", - "name": "PLAINTEXT" - }, - { - "value": "ZIPFILE", - "name": "ZIPFILE" + "type": "enum", + "members": { + "PLAINTEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PLAINTEXT" } - ] + }, + "ZIPFILE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZIPFILE" + } + } } }, "com.amazonaws.kinesisanalyticsv2#CodeContentUpdate": { @@ -1594,7 +1619,6 @@ "com.amazonaws.kinesisanalyticsv2#CodeSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 52428800 @@ -1637,18 +1661,20 @@ } }, "com.amazonaws.kinesisanalyticsv2#ConfigurationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEFAULT", - "name": "DEFAULT" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" + "type": "enum", + "members": { + "DEFAULT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" } - ] + } } }, "com.amazonaws.kinesisanalyticsv2#CreateApplication": { @@ -1709,7 +1735,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates and returns a URL that you can use to connect to \n an application's extension. Currently, the only\n available extension is the Apache Flink dashboard.

\n

The IAM role or user used to call this API defines the permissions to access the\n extension. After the presigned URL is created, no additional permission is required to access\n this URL. IAM authorization policies for this API are also enforced for every HTTP request\n that attempts to connect to the extension.

\n

You control the amount of time that the URL will be valid using the SessionExpirationDurationInSeconds\n parameter. If you do not provide this parameter, the returned URL is valid for twelve hours.

\n \n

The URL that you get from a call to CreateApplicationPresignedUrl must be used within 3 minutes\n to be valid. \n If you first try to use the URL after the 3-minute limit expires, the service returns an HTTP 403 Forbidden error.

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

Creates and returns a URL that you can use to connect to \n an application's extension.

\n

The IAM role or user used to call this API defines the permissions to access the\n extension. After the presigned URL is created, no additional permission is required to access\n this URL. IAM authorization policies for this API are also enforced for every HTTP request\n that attempts to connect to the extension.

\n

You control the amount of time that the URL will be valid using the SessionExpirationDurationInSeconds\n parameter. If you do not provide this parameter, the returned URL is valid for twelve hours.

\n \n

The URL that you get from a call to CreateApplicationPresignedUrl must be used within 3 minutes\n to be valid. \n If you first try to use the URL after the 3-minute limit expires, the service returns an HTTP 403 Forbidden error.

\n
" } }, "com.amazonaws.kinesisanalyticsv2#CreateApplicationPresignedUrlRequest": { @@ -1767,7 +1793,7 @@ "RuntimeEnvironment": { "target": "com.amazonaws.kinesisanalyticsv2#RuntimeEnvironment", "traits": { - "smithy.api#documentation": "

The runtime environment for the application (SQL-1_0, FLINK-1_6, FLINK-1_8, or FLINK-1_11).

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

The runtime environment for the application.

", "smithy.api#required": {} } }, @@ -1799,7 +1825,7 @@ "ApplicationMode": { "target": "com.amazonaws.kinesisanalyticsv2#ApplicationMode", "traits": { - "smithy.api#documentation": "

Use the STREAMING mode to create a Kinesis Data Analytics Studio notebook. To create a Kinesis Data Analytics Studio notebook, use the \n INTERACTIVE mode.

" + "smithy.api#documentation": "

Use the STREAMING mode to create a Kinesis Data Analytics For Flink application. To create a Kinesis Data Analytics Studio notebook, use the \n INTERACTIVE mode.

" } } } @@ -2321,6 +2347,9 @@ "target": "com.amazonaws.kinesisanalyticsv2#DeleteApplicationSnapshotResponse" }, "errors": [ + { + "target": "com.amazonaws.kinesisanalyticsv2#ConcurrentModificationException" + }, { "target": "com.amazonaws.kinesisanalyticsv2#InvalidArgumentException" }, @@ -3177,7 +3206,6 @@ "com.amazonaws.kinesisanalyticsv2#InputParallelismCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -3270,22 +3298,26 @@ } }, "com.amazonaws.kinesisanalyticsv2#InputStartingPosition": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOW", - "name": "NOW" - }, - { - "value": "TRIM_HORIZON", - "name": "TRIM_HORIZON" - }, - { - "value": "LAST_STOPPED_POINT", - "name": "LAST_STOPPED_POINT" + "type": "enum", + "members": { + "NOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOW" } - ] + }, + "TRIM_HORIZON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRIM_HORIZON" + } + }, + "LAST_STOPPED_POINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAST_STOPPED_POINT" + } + } } }, "com.amazonaws.kinesisanalyticsv2#InputStartingPositionConfiguration": { @@ -3543,6 +3575,1742 @@ "smithy.api#title": "Amazon Kinesis Analytics", "smithy.api#xmlNamespace": { "uri": "http://analytics.kinesis.amazonaws.com/doc/2018-05-23" + }, + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + }, + { + "fn": "parseURL", + "argv": [ + { + "ref": "Endpoint" + } + ], + "assign": "url" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kinesisanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kinesisanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://kinesisanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://kinesisanalytics.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-gov-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.me-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.me-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ca-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-central-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "af-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-north-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-west-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-3", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-2", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "eu-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-northeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-northeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.me-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": true + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.me-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "me-south-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.sa-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.sa-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "sa-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-north-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-gov-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-gov-west-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-1", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-2", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-southeast-3.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": true + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "ap-southeast-3", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-east-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.us-east-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-2", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics-fips.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://kinesisanalytics.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "Region": "cn-northwest-1", + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "Region": "us-east-1", + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "Region": "us-east-1", + "UseDualStack": true, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" } } }, @@ -3900,7 +5668,6 @@ "com.amazonaws.kinesisanalyticsv2#ListApplicationVersionsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -3968,7 +5735,6 @@ "com.amazonaws.kinesisanalyticsv2#ListApplicationsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4013,7 +5779,6 @@ "com.amazonaws.kinesisanalyticsv2#ListSnapshotsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4067,26 +5832,32 @@ } }, "com.amazonaws.kinesisanalyticsv2#LogLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INFO", - "name": "INFO" - }, - { - "value": "WARN", - "name": "WARN" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "DEBUG", - "name": "DEBUG" + "type": "enum", + "members": { + "INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFO" } - ] + }, + "WARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WARN" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "DEBUG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEBUG" + } + } } }, "com.amazonaws.kinesisanalyticsv2#LogStreamARN": { @@ -4179,32 +5950,37 @@ } }, "com.amazonaws.kinesisanalyticsv2#MetricsLevel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "APPLICATION", - "name": "APPLICATION" - }, - { - "value": "TASK", - "name": "TASK" - }, - { - "value": "OPERATOR", - "name": "OPERATOR" - }, - { - "value": "PARALLELISM", - "name": "PARALLELISM" + "type": "enum", + "members": { + "APPLICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION" + } + }, + "TASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TASK" } - ] + }, + "OPERATOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATOR" + } + }, + "PARALLELISM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARALLELISM" + } + } } }, "com.amazonaws.kinesisanalyticsv2#MinPauseBetweenCheckpoints": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4457,7 +6233,6 @@ "com.amazonaws.kinesisanalyticsv2#Parallelism": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4569,7 +6344,6 @@ "com.amazonaws.kinesisanalyticsv2#ParallelismPerKPU": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4784,18 +6558,20 @@ } }, "com.amazonaws.kinesisanalyticsv2#RecordFormatType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "JSON", - "name": "JSON" - }, - { - "value": "CSV", - "name": "CSV" + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" } - ] + }, + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + } } }, "com.amazonaws.kinesisanalyticsv2#RecordRowDelimiter": { @@ -5113,38 +6889,56 @@ } }, "com.amazonaws.kinesisanalyticsv2#RuntimeEnvironment": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SQL-1_0", - "name": "SQL_1_0" - }, - { - "value": "FLINK-1_6", - "name": "FLINK_1_6" - }, - { - "value": "FLINK-1_8", - "name": "FLINK_1_8" - }, - { - "value": "ZEPPELIN-FLINK-1_0", - "name": "ZEPPELIN_FLINK_1_0" - }, - { - "value": "FLINK-1_11", - "name": "FLINK_1_11" - }, - { - "value": "FLINK-1_13", - "name": "FLINK_1_13" - }, - { - "value": "ZEPPELIN-FLINK-2_0", - "name": "ZEPPELIN_FLINK_2_0" + "type": "enum", + "members": { + "SQL_1_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL-1_0" + } + }, + "FLINK_1_6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK-1_6" + } + }, + "FLINK_1_8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK-1_8" + } + }, + "ZEPPELIN_FLINK_1_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZEPPELIN-FLINK-1_0" + } + }, + "FLINK_1_11": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK-1_11" + } + }, + "FLINK_1_13": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK-1_13" + } + }, + "ZEPPELIN_FLINK_2_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZEPPELIN-FLINK-2_0" + } + }, + "FLINK_1_15": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK-1_15" } - ] + } } }, "com.amazonaws.kinesisanalyticsv2#S3ApplicationCodeLocationDescription": { @@ -5412,7 +7206,6 @@ "com.amazonaws.kinesisanalyticsv2#SessionExpirationDurationInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1800, "max": 43200 @@ -5465,26 +7258,32 @@ } }, "com.amazonaws.kinesisanalyticsv2#SnapshotStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "READY", - "name": "READY" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } } }, "com.amazonaws.kinesisanalyticsv2#SnapshotSummaries": { @@ -6138,18 +7937,20 @@ } }, "com.amazonaws.kinesisanalyticsv2#UrlType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FLINK_DASHBOARD_URL", - "name": "FLINK_DASHBOARD_URL" - }, - { - "value": "ZEPPELIN_UI_URL", - "name": "ZEPPELIN_UI_URL" + "type": "enum", + "members": { + "FLINK_DASHBOARD_URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLINK_DASHBOARD_URL" + } + }, + "ZEPPELIN_UI_URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZEPPELIN_UI_URL" } - ] + } } }, "com.amazonaws.kinesisanalyticsv2#VpcConfiguration": {