diff --git a/CHANGELOG.md b/CHANGELOG.md index 713e746a5f..c55cc490f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.44.144 (2022-11-22) +=== + +### Service Client Updates +* `service/appflow`: Updates service API and documentation +* `service/kinesisanalyticsv2`: Updates service API and documentation + Release v1.44.143 (2022-11-21) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 1bbad53fb1..3fc271a567 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -23,6 +23,7 @@ const ( ApNortheast2RegionID = "ap-northeast-2" // Asia Pacific (Seoul). ApNortheast3RegionID = "ap-northeast-3" // Asia Pacific (Osaka). ApSouth1RegionID = "ap-south-1" // Asia Pacific (Mumbai). + ApSouth2RegionID = "ap-south-2" // Asia Pacific (Hyderabad). ApSoutheast1RegionID = "ap-southeast-1" // Asia Pacific (Singapore). ApSoutheast2RegionID = "ap-southeast-2" // Asia Pacific (Sydney). ApSoutheast3RegionID = "ap-southeast-3" // Asia Pacific (Jakarta). @@ -159,6 +160,9 @@ var awsPartition = partition{ "ap-south-1": region{ Description: "Asia Pacific (Mumbai)", }, + "ap-south-2": region{ + Description: "Asia Pacific (Hyderabad)", + }, "ap-southeast-1": region{ Description: "Asia Pacific (Singapore)", }, @@ -245,6 +249,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -413,6 +420,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -1104,6 +1114,14 @@ var awsPartition = partition{ Region: "ap-south-1", }, }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{ + Hostname: "api.ecr.ap-south-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-south-2", + }, + }, endpointKey{ Region: "ap-southeast-1", }: endpoint{ @@ -2012,6 +2030,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -2200,6 +2221,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -2403,6 +2427,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -3423,6 +3450,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -4118,6 +4148,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -4303,6 +4336,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -4578,6 +4614,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -5041,6 +5080,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -6084,6 +6126,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -7232,6 +7277,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -7466,6 +7514,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -7971,6 +8022,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -8293,6 +8347,9 @@ var awsPartition = partition{ }: endpoint{ Hostname: "ec2.ap-south-1.api.aws", }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -8477,6 +8534,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -8782,6 +8842,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -9483,6 +9546,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -9628,6 +9694,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -10180,6 +10249,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -10328,6 +10400,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -13782,6 +13857,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -14142,6 +14220,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "kms-fips.ap-south-2.amazonaws.com", + }, endpointKey{ Region: "ap-south-2-fips", }: endpoint{ @@ -14678,6 +14765,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "lambda.ap-south-1.api.aws", }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "lambda.ap-south-2.api.aws", + }, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -15234,6 +15330,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -16277,6 +16376,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -16623,6 +16725,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -17745,6 +17850,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -18781,6 +18889,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -19179,6 +19290,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -19708,6 +19822,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "resource-explorer-2.ap-south-1.api.aws", }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{ + Hostname: "resource-explorer-2.ap-south-2.api.aws", + }, endpointKey{ Region: "ap-southeast-1", }: endpoint{ @@ -20500,6 +20619,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "s3.dualstack.ap-south-1.amazonaws.com", }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3.dualstack.ap-south-2.amazonaws.com", + }, endpointKey{ Region: "ap-southeast-1", }: endpoint{ @@ -21605,6 +21733,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -23103,6 +23234,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -23248,6 +23382,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -23390,6 +23527,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -23657,6 +23797,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -23961,6 +24104,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -24050,6 +24196,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -24223,6 +24372,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -24362,6 +24514,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -24501,6 +24656,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -25289,12 +25447,30 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "voiceid-fips.ca-central-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "fips-ca-central-1", + }: endpoint{ + Hostname: "voiceid-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -26859,6 +27035,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index d7ce05e8da..a015fdb058 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.143" +const SDKVersion = "1.44.144" diff --git a/models/apis/appflow/2020-08-23/api-2.json b/models/apis/appflow/2020-08-23/api-2.json index 80fcb394d9..d823e7640d 100644 --- a/models/apis/appflow/2020-08-23/api-2.json +++ b/models/apis/appflow/2020-08-23/api-2.json @@ -587,6 +587,11 @@ "pattern":"\\S+", "sensitive":true }, + "ClusterIdentifier":{ + "type":"string", + "max":512, + "pattern":"\\S+" + }, "ConflictException":{ "type":"structure", "members":{ @@ -810,10 +815,7 @@ }, "ConnectorProfileConfig":{ "type":"structure", - "required":[ - "connectorProfileProperties", - "connectorProfileCredentials" - ], + "required":["connectorProfileProperties"], "members":{ "connectorProfileProperties":{"shape":"ConnectorProfileProperties"}, "connectorProfileCredentials":{"shape":"ConnectorProfileCredentials"} @@ -1144,6 +1146,11 @@ "members":{ } }, + "DataApiRoleArn":{ + "type":"string", + "max":512, + "pattern":"arn:aws:iam:.*:[0-9]+:.*" + }, "DataPullMode":{ "type":"string", "enum":[ @@ -1151,6 +1158,11 @@ "Complete" ] }, + "DatabaseName":{ + "type":"string", + "max":512, + "pattern":"\\S+" + }, "DatabaseUrl":{ "type":"string", "max":512, @@ -2336,19 +2348,14 @@ }, "RedshiftConnectorProfileCredentials":{ "type":"structure", - "required":[ - "username", - "password" - ], "members":{ - "username":{"shape":"Username"}, + "username":{"shape":"String"}, "password":{"shape":"Password"} } }, "RedshiftConnectorProfileProperties":{ "type":"structure", "required":[ - "databaseUrl", "bucketName", "roleArn" ], @@ -2356,7 +2363,12 @@ "databaseUrl":{"shape":"DatabaseUrl"}, "bucketName":{"shape":"BucketName"}, "bucketPrefix":{"shape":"BucketPrefix"}, - "roleArn":{"shape":"RoleArn"} + "roleArn":{"shape":"RoleArn"}, + "dataApiRoleArn":{"shape":"DataApiRoleArn"}, + "isRedshiftServerless":{"shape":"Boolean"}, + "clusterIdentifier":{"shape":"ClusterIdentifier"}, + "workgroupName":{"shape":"WorkgroupName"}, + "databaseName":{"shape":"DatabaseName"} } }, "RedshiftDestinationProperties":{ @@ -3447,6 +3459,11 @@ "max":512, "pattern":"[\\s\\w/!@#+=.-]*" }, + "WorkgroupName":{ + "type":"string", + "max":512, + "pattern":"\\S+" + }, "WriteOperationType":{ "type":"string", "enum":[ diff --git a/models/apis/appflow/2020-08-23/docs-2.json b/models/apis/appflow/2020-08-23/docs-2.json index 7847770ab3..6da12539f6 100644 --- a/models/apis/appflow/2020-08-23/docs-2.json +++ b/models/apis/appflow/2020-08-23/docs-2.json @@ -251,6 +251,7 @@ "ErrorHandlingConfig$failOnFirstDestinationError": "

Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

", "OAuth2CustomParameter$isRequired": "

Indicates whether the custom parameter for OAuth 2.0 authentication is required.

", "OAuth2CustomParameter$isSensitiveField": "

Indicates whether this authentication custom parameter is a sensitive field.

", + "RedshiftConnectorProfileProperties$isRedshiftServerless": "

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

", "SalesforceConnectorProfileProperties$isSandboxEnvironment": "

Indicates whether the connector profile applies to a sandbox or production environment.

", "SalesforceSourceProperties$enableDynamicFieldUpdate": "

The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.

", "SalesforceSourceProperties$includeDeletedRecords": "

Indicates whether Amazon AppFlow includes deleted files in the flow run.

", @@ -330,6 +331,12 @@ "ZendeskConnectorProfileCredentials$clientSecret": "

The client secret used by the OAuth client to authenticate to the authorization server.

" } }, + "ClusterIdentifier": { + "base": null, + "refs": { + "RedshiftConnectorProfileProperties$clusterIdentifier": "

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

" + } + }, "ConflictException": { "base": "

There was a conflict when processing the request (for example, a flow with the given name already exists within the account. Check for conflicting resource names and try again.

", "refs": { @@ -765,12 +772,24 @@ "ConnectorMetadata$CustomerProfiles": "

The connector metadata specific to Amazon Connect Customer Profiles.

" } }, + "DataApiRoleArn": { + "base": null, + "refs": { + "RedshiftConnectorProfileProperties$dataApiRoleArn": "

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 information, and for the polices that you attach to this role, see Allow Amazon AppFlow to access Amazon Redshift databases with the Data API.

" + } + }, "DataPullMode": { "base": null, "refs": { "ScheduledTriggerProperties$dataPullMode": "

Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.

" } }, + "DatabaseName": { + "base": null, + "refs": { + "RedshiftConnectorProfileProperties$databaseName": "

The name of an Amazon Redshift database.

" + } + }, "DatabaseUrl": { "base": null, "refs": { @@ -1890,7 +1909,7 @@ "RoleArn": { "base": null, "refs": { - "RedshiftConnectorProfileProperties$roleArn": "

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

" + "RedshiftConnectorProfileProperties$roleArn": "

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

" } }, "S3ConnectorOperator": { @@ -2235,6 +2254,7 @@ "FieldTypeDetails$valueRegexPattern": "

The regular expression pattern for the field name.

", "FieldTypeDetails$supportedDateFormat": "

The date format that the field supports.

", "MetadataCatalogDetail$tableName": "

The name of the table that stores the metadata for the associated flow run. The table stores metadata that represents the data that the flow transferred. Amazon AppFlow stores the table in the metadata catalog.

", + "RedshiftConnectorProfileCredentials$username": "

The name of the user.

", "RegistrationOutput$message": "

Explains the status of the registration attempt from Amazon AppFlow. If the attempt fails, the message explains why.

", "RegistrationOutput$result": "

Indicates the number of resources that Amazon AppFlow created or updated. Possible resources include metadata tables and data partitions.

", "SourceFields$member": null @@ -2528,7 +2548,6 @@ "refs": { "BasicAuthCredentials$username": "

The username to use to connect to a resource.

", "InforNexusConnectorProfileCredentials$userId": "

The identifier for the user.

", - "RedshiftConnectorProfileCredentials$username": "

The name of the user.

", "ServiceNowConnectorProfileCredentials$username": "

The name of the user.

", "SnowflakeConnectorProfileCredentials$username": "

The name of the user.

", "VeevaConnectorProfileCredentials$username": "

The name of the user.

" @@ -2581,6 +2600,12 @@ "SnowflakeConnectorProfileProperties$warehouse": "

The name of the Snowflake warehouse.

" } }, + "WorkgroupName": { + "base": null, + "refs": { + "RedshiftConnectorProfileProperties$workgroupName": "

The name of an Amazon Redshift workgroup.

" + } + }, "WriteOperationType": { "base": "

The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT operation.

", "refs": { diff --git a/models/apis/appflow/2020-08-23/endpoint-rule-set-1.json b/models/apis/appflow/2020-08-23/endpoint-rule-set-1.json index d90efce974..c06cbd9ae6 100644 --- a/models/apis/appflow/2020-08-23/endpoint-rule-set-1.json +++ b/models/apis/appflow/2020-08-23/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, diff --git a/models/apis/appflow/2020-08-23/endpoint-tests-1.json b/models/apis/appflow/2020-08-23/endpoint-tests-1.json index 45e1b7d9c2..2de5f9d07f 100644 --- a/models/apis/appflow/2020-08-23/endpoint-tests-1.json +++ b/models/apis/appflow/2020-08-23/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -22,8 +22,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": true } }, { @@ -35,8 +35,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -48,8 +48,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-south-1", + "UseFIPS": false } }, { @@ -61,8 +61,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -74,8 +74,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": true } }, { @@ -87,8 +87,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -100,8 +100,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ca-central-1", + "UseFIPS": false } }, { @@ -113,8 +113,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -126,8 +126,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": true } }, { @@ -139,8 +139,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -152,8 +152,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "eu-central-1", + "UseFIPS": false } }, { @@ -165,8 +165,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -178,8 +178,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": true } }, { @@ -191,8 +191,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -204,8 +204,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-1" + "Region": "us-west-1", + "UseFIPS": false } }, { @@ -217,8 +217,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -230,8 +230,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": true } }, { @@ -243,8 +243,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -256,8 +256,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "us-west-2", + "UseFIPS": false } }, { @@ -269,8 +269,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -282,8 +282,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": true } }, { @@ -295,8 +295,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -308,8 +308,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "af-south-1", + "UseFIPS": false } }, { @@ -321,8 +321,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -334,8 +334,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": true } }, { @@ -347,8 +347,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -360,8 +360,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-3" + "Region": "eu-west-3", + "UseFIPS": false } }, { @@ -373,8 +373,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -386,8 +386,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": true } }, { @@ -399,8 +399,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -412,8 +412,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" + "Region": "eu-west-2", + "UseFIPS": false } }, { @@ -425,8 +425,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -438,8 +438,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": true } }, { @@ -451,8 +451,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -464,8 +464,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "eu-west-1", + "UseFIPS": false } }, { @@ -477,8 +477,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -490,8 +490,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": true } }, { @@ -503,8 +503,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -516,8 +516,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" + "Region": "ap-northeast-2", + "UseFIPS": false } }, { @@ -529,8 +529,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -542,8 +542,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": true } }, { @@ -555,8 +555,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -568,8 +568,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "ap-northeast-1", + "UseFIPS": false } }, { @@ -581,8 +581,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -594,8 +594,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": true } }, { @@ -607,8 +607,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -620,8 +620,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "sa-east-1", + "UseFIPS": false } }, { @@ -633,8 +633,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -646,8 +646,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": true } }, { @@ -659,8 +659,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -672,8 +672,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "Region": "ap-southeast-1", + "UseFIPS": false } }, { @@ -685,8 +685,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -698,8 +698,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": true } }, { @@ -711,8 +711,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -724,8 +724,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "ap-southeast-2", + "UseFIPS": false } }, { @@ -737,8 +737,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -750,8 +750,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": true } }, { @@ -763,8 +763,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -776,8 +776,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "Region": "us-east-1", + "UseFIPS": false } }, { @@ -789,8 +789,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -802,8 +802,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": true } }, { @@ -815,8 +815,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -828,8 +828,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-east-2", + "UseFIPS": false } }, { @@ -841,8 +841,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -853,8 +853,8 @@ }, "params": { "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -865,8 +865,8 @@ }, "params": { "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json b/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json index 71be379e65..c04b4e5209 100644 --- a/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json +++ b/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json @@ -258,7 +258,8 @@ {"shape":"InvalidArgumentException"}, {"shape":"UnsupportedOperationException"}, {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"ResourceNotFoundException"}, + {"shape":"ConcurrentModificationException"} ] }, "DeleteApplicationVpcConfiguration":{ @@ -2289,7 +2290,8 @@ "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", - "ZEPPELIN-FLINK-2_0" + "ZEPPELIN-FLINK-2_0", + "FLINK-1_15" ] }, "S3ApplicationCodeLocationDescription":{ diff --git a/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json b/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json index be21ff80ee..7a740d2337 100644 --- a/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json +++ b/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json @@ -9,7 +9,7 @@ "AddApplicationReferenceDataSource": "

Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.

Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.

", "AddApplicationVpcConfiguration": "

Adds a Virtual Private Cloud (VPC) configuration to the application. Applications can use VPCs to store and access resources securely.

Note the following about VPC configurations for Kinesis Data Analytics applications:

", "CreateApplication": "

Creates a Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.

", - "CreateApplicationPresignedUrl": "

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

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

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

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

", + "CreateApplicationPresignedUrl": "

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

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

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

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

", "CreateApplicationSnapshot": "

Creates a snapshot of the application's state data.

", "DeleteApplication": "

Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.

", "DeleteApplicationCloudWatchLoggingOption": "

Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics application.

", @@ -179,7 +179,7 @@ "refs": { "ApplicationDetail$ApplicationMode": "

To create a Kinesis Data Analytics Studio notebook, you must set the mode to INTERACTIVE. However, for a Kinesis Data Analytics for Apache Flink application, the mode is optional.

", "ApplicationSummary$ApplicationMode": "

For a Kinesis Data Analytics for Apache Flink application, the mode is STREAMING. For a Kinesis Data Analytics Studio notebook, it is INTERACTIVE.

", - "CreateApplicationRequest$ApplicationMode": "

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

" + "CreateApplicationRequest$ApplicationMode": "

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

" } }, "ApplicationName": { @@ -1638,9 +1638,9 @@ "RuntimeEnvironment": { "base": null, "refs": { - "ApplicationDetail$RuntimeEnvironment": "

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

", + "ApplicationDetail$RuntimeEnvironment": "

The runtime environment for the application.

", "ApplicationSummary$RuntimeEnvironment": "

The runtime environment for the application.

", - "CreateApplicationRequest$RuntimeEnvironment": "

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

" + "CreateApplicationRequest$RuntimeEnvironment": "

The runtime environment for the application.

" } }, "S3ApplicationCodeLocationDescription": { diff --git a/models/apis/kinesisanalyticsv2/2018-05-23/endpoint-rule-set-1.json b/models/apis/kinesisanalyticsv2/2018-05-23/endpoint-rule-set-1.json new file mode 100644 index 0000000000..add113074d --- /dev/null +++ b/models/apis/kinesisanalyticsv2/2018-05-23/endpoint-rule-set-1.json @@ -0,0 +1,315 @@ +{ + "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" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/kinesisanalyticsv2/2018-05-23/endpoint-tests-1.json b/models/apis/kinesisanalyticsv2/2018-05-23/endpoint-tests-1.json new file mode 100644 index 0000000000..e314c1988f --- /dev/null +++ b/models/apis/kinesisanalyticsv2/2018-05-23/endpoint-tests-1.json @@ -0,0 +1,1421 @@ +{ + "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" +} \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index fb5beff174..a43eb13b36 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -41,6 +41,9 @@ "ap-south-1" : { "description" : "Asia Pacific (Mumbai)" }, + "ap-south-2" : { + "description" : "Asia Pacific (Hyderabad)" + }, "ap-southeast-1" : { "description" : "Asia Pacific (Singapore)" }, @@ -113,6 +116,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -214,6 +218,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -587,6 +592,12 @@ }, "hostname" : "api.ecr.ap-south-1.amazonaws.com" }, + "ap-south-2" : { + "credentialScope" : { + "region" : "ap-south-2" + }, + "hostname" : "api.ecr.ap-south-2.amazonaws.com" + }, "ap-southeast-1" : { "credentialScope" : { "region" : "ap-southeast-1" @@ -1174,6 +1185,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -1277,6 +1289,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -1354,6 +1367,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -1945,6 +1959,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -2284,6 +2299,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -2386,6 +2402,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -2527,6 +2544,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -2787,6 +2805,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -3392,6 +3411,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -4134,6 +4154,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -4248,6 +4269,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -4546,6 +4568,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -4737,6 +4760,7 @@ "tags" : [ "dualstack" ] } ] }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -4845,6 +4869,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -5014,6 +5039,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -5478,6 +5504,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -5559,6 +5586,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -5882,6 +5910,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -5966,6 +5995,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -8045,6 +8075,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -8247,6 +8278,12 @@ "deprecated" : true, "hostname" : "kms-fips.ap-south-1.amazonaws.com" }, + "ap-south-2" : { + "variants" : [ { + "hostname" : "kms-fips.ap-south-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "ap-south-2-fips" : { "credentialScope" : { "region" : "ap-south-2" @@ -8614,6 +8651,12 @@ "tags" : [ "dualstack" ] } ] }, + "ap-south-2" : { + "variants" : [ { + "hostname" : "lambda.ap-south-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "ap-southeast-1" : { "variants" : [ { "hostname" : "lambda.ap-southeast-1.api.aws", @@ -8943,6 +8986,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -9511,6 +9555,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -9667,6 +9712,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -10358,6 +10404,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -10958,6 +11005,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -11199,6 +11247,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -11508,6 +11557,9 @@ "ap-south-1" : { "hostname" : "resource-explorer-2.ap-south-1.api.aws" }, + "ap-south-2" : { + "hostname" : "resource-explorer-2.ap-south-2.api.aws" + }, "ap-southeast-1" : { "hostname" : "resource-explorer-2.ap-southeast-1.api.aws" }, @@ -11938,6 +11990,12 @@ "tags" : [ "dualstack" ] } ] }, + "ap-south-2" : { + "variants" : [ { + "hostname" : "s3.dualstack.ap-south-2.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "ap-southeast-1" : { "hostname" : "s3.ap-southeast-1.amazonaws.com", "signatureVersions" : [ "s3", "s3v4" ], @@ -12556,6 +12614,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -13457,6 +13516,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -13538,6 +13598,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -13616,6 +13677,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -13748,6 +13810,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -13925,6 +13988,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -13961,6 +14025,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -14063,6 +14128,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -14140,6 +14206,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -14217,6 +14284,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -14675,8 +14743,21 @@ "ap-northeast-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "voiceid-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-west-2" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "voiceid-fips.ca-central-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -15660,6 +15741,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, diff --git a/service/appflow/api.go b/service/appflow/api.go index 06fe56f1b2..c64cecfb83 100644 --- a/service/appflow/api.go +++ b/service/appflow/api.go @@ -4247,9 +4247,7 @@ type ConnectorProfileConfig struct { _ struct{} `type:"structure"` // The connector-specific credentials required by each connector. - // - // ConnectorProfileCredentials is a required field - ConnectorProfileCredentials *ConnectorProfileCredentials `locationName:"connectorProfileCredentials" type:"structure" required:"true"` + ConnectorProfileCredentials *ConnectorProfileCredentials `locationName:"connectorProfileCredentials" type:"structure"` // The connector-specific properties of the profile configuration. // @@ -4278,9 +4276,6 @@ func (s ConnectorProfileConfig) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ConnectorProfileConfig) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileConfig"} - if s.ConnectorProfileCredentials == nil { - invalidParams.Add(request.NewErrParamRequired("ConnectorProfileCredentials")) - } if s.ConnectorProfileProperties == nil { invalidParams.Add(request.NewErrParamRequired("ConnectorProfileProperties")) } @@ -4429,11 +4424,6 @@ func (s *ConnectorProfileCredentials) Validate() error { invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams)) } } - if s.Redshift != nil { - if err := s.Redshift.Validate(); err != nil { - invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams)) - } - } if s.SAPOData != nil { if err := s.SAPOData.Validate(); err != nil { invalidParams.AddNested("SAPOData", err.(request.ErrInvalidParams)) @@ -10528,14 +10518,10 @@ type RedshiftConnectorProfileCredentials struct { // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RedshiftConnectorProfileCredentials's // String and GoString methods. - // - // Password is a required field - Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"` + Password *string `locationName:"password" type:"string" sensitive:"true"` // The name of the user. - // - // Username is a required field - Username *string `locationName:"username" type:"string" required:"true"` + Username *string `locationName:"username" type:"string"` } // String returns the string representation. @@ -10556,22 +10542,6 @@ func (s RedshiftConnectorProfileCredentials) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RedshiftConnectorProfileCredentials) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RedshiftConnectorProfileCredentials"} - if s.Password == nil { - invalidParams.Add(request.NewErrParamRequired("Password")) - } - if s.Username == nil { - invalidParams.Add(request.NewErrParamRequired("Username")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - // SetPassword sets the Password field's value. func (s *RedshiftConnectorProfileCredentials) SetPassword(v string) *RedshiftConnectorProfileCredentials { s.Password = &v @@ -10597,15 +10567,35 @@ type RedshiftConnectorProfileProperties struct { // the files. BucketPrefix *string `locationName:"bucketPrefix" type:"string"` + // The unique ID that's assigned to an Amazon Redshift cluster. + ClusterIdentifier *string `locationName:"clusterIdentifier" type:"string"` + + // 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 information, + // and for the polices that you attach to this role, see Allow Amazon AppFlow + // to access Amazon Redshift databases with the Data API (https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_service-role-policies.html#access-redshift). + DataApiRoleArn *string `locationName:"dataApiRoleArn" type:"string"` + + // The name of an Amazon Redshift database. + DatabaseName *string `locationName:"databaseName" type:"string"` + // The JDBC URL of the Amazon Redshift cluster. - // - // DatabaseUrl is a required field - DatabaseUrl *string `locationName:"databaseUrl" type:"string" required:"true"` + DatabaseUrl *string `locationName:"databaseUrl" type:"string"` + + // Indicates whether the connector profile defines a connection to an Amazon + // Redshift Serverless data warehouse. + IsRedshiftServerless *bool `locationName:"isRedshiftServerless" type:"boolean"` - // The Amazon Resource Name (ARN) of the IAM role. + // The Amazon Resource Name (ARN) of IAM role that grants Amazon Redshift read-only + // access to Amazon S3. For more information, and for the polices that you attach + // to this role, see Allow Amazon Redshift to access your Amazon AppFlow data + // in Amazon S3 (https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_service-role-policies.html#redshift-access-s3). // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` + + // The name of an Amazon Redshift workgroup. + WorkgroupName *string `locationName:"workgroupName" type:"string"` } // String returns the string representation. @@ -10635,9 +10625,6 @@ func (s *RedshiftConnectorProfileProperties) Validate() error { if s.BucketName != nil && len(*s.BucketName) < 3 { invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) } - if s.DatabaseUrl == nil { - invalidParams.Add(request.NewErrParamRequired("DatabaseUrl")) - } if s.RoleArn == nil { invalidParams.Add(request.NewErrParamRequired("RoleArn")) } @@ -10660,18 +10647,48 @@ func (s *RedshiftConnectorProfileProperties) SetBucketPrefix(v string) *Redshift return s } +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *RedshiftConnectorProfileProperties) SetClusterIdentifier(v string) *RedshiftConnectorProfileProperties { + s.ClusterIdentifier = &v + return s +} + +// SetDataApiRoleArn sets the DataApiRoleArn field's value. +func (s *RedshiftConnectorProfileProperties) SetDataApiRoleArn(v string) *RedshiftConnectorProfileProperties { + s.DataApiRoleArn = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *RedshiftConnectorProfileProperties) SetDatabaseName(v string) *RedshiftConnectorProfileProperties { + s.DatabaseName = &v + return s +} + // SetDatabaseUrl sets the DatabaseUrl field's value. func (s *RedshiftConnectorProfileProperties) SetDatabaseUrl(v string) *RedshiftConnectorProfileProperties { s.DatabaseUrl = &v return s } +// SetIsRedshiftServerless sets the IsRedshiftServerless field's value. +func (s *RedshiftConnectorProfileProperties) SetIsRedshiftServerless(v bool) *RedshiftConnectorProfileProperties { + s.IsRedshiftServerless = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *RedshiftConnectorProfileProperties) SetRoleArn(v string) *RedshiftConnectorProfileProperties { s.RoleArn = &v return s } +// SetWorkgroupName sets the WorkgroupName field's value. +func (s *RedshiftConnectorProfileProperties) SetWorkgroupName(v string) *RedshiftConnectorProfileProperties { + s.WorkgroupName = &v + return s +} + // The properties that are applied when Amazon Redshift is being used as a destination. type RedshiftDestinationProperties struct { _ struct{} `type:"structure"` diff --git a/service/kinesisanalyticsv2/api.go b/service/kinesisanalyticsv2/api.go index 59a4050abb..de3c957996 100644 --- a/service/kinesisanalyticsv2/api.go +++ b/service/kinesisanalyticsv2/api.go @@ -772,7 +772,7 @@ func (c *KinesisAnalyticsV2) CreateApplicationPresignedUrlRequest(input *CreateA // CreateApplicationPresignedUrl API operation for Amazon Kinesis Analytics. // // Creates and returns a URL that you can use to connect to an application's -// extension. Currently, the only available extension is the Apache Flink dashboard. +// extension. // // The IAM role or user used to call this API defines the permissions to access // the extension. After the presigned URL is created, no additional permission @@ -1478,6 +1478,11 @@ func (c *KinesisAnalyticsV2) DeleteApplicationSnapshotRequest(input *DeleteAppli // - ResourceNotFoundException // Specified application can't be found. // +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationSnapshot func (c *KinesisAnalyticsV2) DeleteApplicationSnapshot(input *DeleteApplicationSnapshotInput) (*DeleteApplicationSnapshotOutput, error) { req, out := c.DeleteApplicationSnapshotRequest(input) @@ -4533,8 +4538,7 @@ type ApplicationDetail struct { // The current timestamp when the application was last updated. LastUpdateTimestamp *time.Time `type:"timestamp"` - // The runtime environment for the application (SQL-1_0, FLINK-1_6, FLINK-1_8, - // or FLINK-1_11). + // The runtime environment for the application. // // RuntimeEnvironment is a required field RuntimeEnvironment *string `type:"string" required:"true" enum:"RuntimeEnvironment"` @@ -6110,7 +6114,7 @@ type CreateApplicationInput struct { // A summary description of the application. ApplicationDescription *string `type:"string"` - // Use the STREAMING mode to create a Kinesis Data Analytics Studio notebook. + // Use the STREAMING mode to create a Kinesis Data Analytics For Flink application. // To create a Kinesis Data Analytics Studio notebook, use the INTERACTIVE mode. ApplicationMode *string `type:"string" enum:"ApplicationMode"` @@ -6123,8 +6127,7 @@ type CreateApplicationInput struct { // application configuration errors. CloudWatchLoggingOptions []*CloudWatchLoggingOption `type:"list"` - // The runtime environment for the application (SQL-1_0, FLINK-1_6, FLINK-1_8, - // or FLINK-1_11). + // The runtime environment for the application. // // RuntimeEnvironment is a required field RuntimeEnvironment *string `type:"string" required:"true" enum:"RuntimeEnvironment"` @@ -15870,6 +15873,9 @@ const ( // RuntimeEnvironmentZeppelinFlink20 is a RuntimeEnvironment enum value RuntimeEnvironmentZeppelinFlink20 = "ZEPPELIN-FLINK-2_0" + + // RuntimeEnvironmentFlink115 is a RuntimeEnvironment enum value + RuntimeEnvironmentFlink115 = "FLINK-1_15" ) // RuntimeEnvironment_Values returns all elements of the RuntimeEnvironment enum @@ -15882,6 +15888,7 @@ func RuntimeEnvironment_Values() []string { RuntimeEnvironmentFlink111, RuntimeEnvironmentFlink113, RuntimeEnvironmentZeppelinFlink20, + RuntimeEnvironmentFlink115, } }