From 608bd945c22fa6b87c15c9268807228c5dfd6873 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Thu, 19 Jan 2023 21:26:12 +0000 Subject: [PATCH] Release v1.44.183 (2023-01-19) === ### Service Client Updates * `service/appflow`: Updates service API and documentation * `service/codeartifact`: Updates service documentation * `service/connect`: Updates service API and documentation * `service/connectparticipant`: Updates service API and documentation * `service/ec2`: Updates service API and documentation * Adds SSM Parameter Resource Aliasing support to EC2 Launch Templates. Launch Templates can now store parameter aliases in place of AMI Resource IDs. CreateLaunchTemplateVersion and DescribeLaunchTemplateVersions now support a convenience flag, ResolveAlias, to return the resolved parameter value. * `service/glue`: Updates service API and documentation * Release Glue Studio Hudi Data Lake Format for SDK/CLI * `service/groundstation`: Updates service API, documentation, and waiters * `service/logs`: Updates service API and documentation * Bug fix - Removed the regex pattern validation from CoralModel to avoid potential security issue. * `service/medialive`: Updates service API and documentation * AWS Elemental MediaLive adds support for SCTE 35 preRollMilliSeconds. * `service/opensearch`: Updates service API and documentation * `service/panorama`: Updates service API and documentation * `service/sagemaker`: Updates service API and documentation * HyperParameterTuningJobs now allow passing environment variables into the corresponding TrainingJobs --- CHANGELOG.md | 22 + aws/endpoints/defaults.go | 47 ++ aws/version.go | 2 +- models/apis/appflow/2020-08-23/api-2.json | 71 +- models/apis/appflow/2020-08-23/docs-2.json | 43 ++ .../appflow/2020-08-23/endpoint-tests-1.json | 262 +++---- .../apis/codeartifact/2018-09-22/docs-2.json | 12 +- .../2018-09-22/endpoint-rule-set-1.json | 306 ++++++++ .../2018-09-22/endpoint-tests-1.json | 719 ++++++++++++++++++ models/apis/connect/2017-08-08/api-2.json | 23 +- models/apis/connect/2017-08-08/docs-2.json | 15 + .../connectparticipant/2018-09-07/api-2.json | 4 +- .../connectparticipant/2018-09-07/docs-2.json | 6 +- .../2018-09-07/endpoint-tests-1.json | 198 ++--- models/apis/ec2/2016-11-15/api-2.json | 6 +- models/apis/ec2/2016-11-15/docs-2.json | 6 +- models/apis/glue/2017-03-31/api-2.json | 103 ++- models/apis/glue/2017-03-31/docs-2.json | 71 +- .../glue/2017-03-31/endpoint-tests-1.json | 486 ++++++------ .../apis/groundstation/2019-05-23/api-2.json | 10 + .../apis/groundstation/2019-05-23/docs-2.json | 9 + .../2019-05-23/endpoint-rule-set-1.json | 65 +- .../2019-05-23/endpoint-tests-1.json | 534 +++---------- .../groundstation/2019-05-23/waiters-2.json | 22 + models/apis/logs/2014-03-28/api-2.json | 3 +- models/apis/logs/2014-03-28/docs-2.json | 16 +- models/apis/medialive/2017-10-14/api-2.json | 7 + models/apis/medialive/2017-10-14/docs-2.json | 6 + .../2017-10-14/endpoint-tests-1.json | 44 +- models/apis/opensearch/2021-01-01/api-2.json | 85 ++- models/apis/opensearch/2021-01-01/docs-2.json | 55 +- .../2021-01-01/endpoint-rule-set-1.json | 11 +- .../2021-01-01/endpoint-tests-1.json | 550 +++++++------- models/apis/panorama/2019-07-24/api-2.json | 1 + models/apis/panorama/2019-07-24/docs-2.json | 7 +- .../2019-07-24/endpoint-rule-set-1.json | 300 ++++++++ .../panorama/2019-07-24/endpoint-tests-1.json | 43 ++ models/apis/sagemaker/2017-07-24/api-2.json | 19 +- models/apis/sagemaker/2017-07-24/docs-2.json | 22 +- .../2017-07-24/endpoint-tests-1.json | 470 ++++++------ models/endpoints/endpoints.json | 23 + service/appflow/api.go | 329 ++++++++ service/cloudwatchlogs/api.go | 24 +- service/codeartifact/api.go | 35 +- service/connect/api.go | 122 +++ service/connectparticipant/api.go | 23 + service/ec2/api.go | 69 +- service/glue/api.go | 665 ++++++++++++++++ service/groundstation/api.go | 50 ++ .../groundstationiface/interface.go | 3 + service/groundstation/waiters.go | 61 ++ service/medialive/api.go | 14 + service/opensearchservice/api.go | 387 +++++++++- .../opensearchserviceiface/interface.go | 4 + service/panorama/api.go | 15 +- service/sagemaker/api.go | 24 +- 56 files changed, 4975 insertions(+), 1554 deletions(-) create mode 100644 models/apis/codeartifact/2018-09-22/endpoint-rule-set-1.json create mode 100644 models/apis/codeartifact/2018-09-22/endpoint-tests-1.json create mode 100644 models/apis/groundstation/2019-05-23/waiters-2.json create mode 100644 models/apis/panorama/2019-07-24/endpoint-rule-set-1.json create mode 100644 models/apis/panorama/2019-07-24/endpoint-tests-1.json create mode 100644 service/groundstation/waiters.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 55dfd079581..4658721f6b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +Release v1.44.183 (2023-01-19) +=== + +### Service Client Updates +* `service/appflow`: Updates service API and documentation +* `service/codeartifact`: Updates service documentation +* `service/connect`: Updates service API and documentation +* `service/connectparticipant`: Updates service API and documentation +* `service/ec2`: Updates service API and documentation + * Adds SSM Parameter Resource Aliasing support to EC2 Launch Templates. Launch Templates can now store parameter aliases in place of AMI Resource IDs. CreateLaunchTemplateVersion and DescribeLaunchTemplateVersions now support a convenience flag, ResolveAlias, to return the resolved parameter value. +* `service/glue`: Updates service API and documentation + * Release Glue Studio Hudi Data Lake Format for SDK/CLI +* `service/groundstation`: Updates service API, documentation, and waiters +* `service/logs`: Updates service API and documentation + * Bug fix - Removed the regex pattern validation from CoralModel to avoid potential security issue. +* `service/medialive`: Updates service API and documentation + * AWS Elemental MediaLive adds support for SCTE 35 preRollMilliSeconds. +* `service/opensearch`: Updates service API and documentation +* `service/panorama`: Updates service API and documentation +* `service/sagemaker`: Updates service API and documentation + * HyperParameterTuningJobs now allow passing environment variables into the corresponding TrainingJobs + Release v1.44.182 (2023-01-18) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ab3cf01b09e..fe6cb169bee 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -1733,9 +1733,15 @@ var awsPartition = partition{ }, "api.mediatailor": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -1751,6 +1757,9 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, @@ -8333,6 +8342,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -8354,12 +8366,18 @@ var awsPartition = partition{ endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-2", + }: endpoint{}, endpointKey{ Region: "eu-north-1", }: endpoint{}, endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -15968,6 +15986,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -16008,6 +16029,18 @@ var awsPartition = partition{ Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-us-east-2", + }: endpoint{ + + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-1", + }: endpoint{ + + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-west-2", }: endpoint{ @@ -16024,6 +16057,20 @@ var awsPartition = partition{ Region: "us-east-1", Variant: fipsVariant, }: endpoint{}, + endpointKey{ + Region: "us-east-2", + }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{}, + endpointKey{ + Region: "us-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index a41cd23a3d6..f09870695ee 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.182" +const SDKVersion = "1.44.183" diff --git a/models/apis/appflow/2020-08-23/api-2.json b/models/apis/appflow/2020-08-23/api-2.json index a214e08549a..67e671260c2 100644 --- a/models/apis/appflow/2020-08-23/api-2.json +++ b/models/apis/appflow/2020-08-23/api-2.json @@ -559,6 +559,11 @@ "max":512, "pattern":".*" }, + "BusinessUnitId":{ + "type":"string", + "max":18, + "pattern":"\\S+" + }, "CatalogType":{ "type":"string", "enum":["GLUE"] @@ -743,7 +748,8 @@ "Upsolver":{"shape":"UpsolverMetadata"}, "CustomerProfiles":{"shape":"CustomerProfilesMetadata"}, "Honeycode":{"shape":"HoneycodeMetadata"}, - "SAPOData":{"shape":"SAPODataMetadata"} + "SAPOData":{"shape":"SAPODataMetadata"}, + "Pardot":{"shape":"PardotMetadata"} } }, "ConnectorMode":{ @@ -785,7 +791,8 @@ "Veeva":{"shape":"VeevaConnectorOperator"}, "Zendesk":{"shape":"ZendeskConnectorOperator"}, "SAPOData":{"shape":"SAPODataConnectorOperator"}, - "CustomConnector":{"shape":"Operator"} + "CustomConnector":{"shape":"Operator"}, + "Pardot":{"shape":"PardotConnectorOperator"} } }, "ConnectorOwner":{ @@ -841,7 +848,8 @@ "Veeva":{"shape":"VeevaConnectorProfileCredentials"}, "Zendesk":{"shape":"ZendeskConnectorProfileCredentials"}, "SAPOData":{"shape":"SAPODataConnectorProfileCredentials"}, - "CustomConnector":{"shape":"CustomConnectorProfileCredentials"} + "CustomConnector":{"shape":"CustomConnectorProfileCredentials"}, + "Pardot":{"shape":"PardotConnectorProfileCredentials"} } }, "ConnectorProfileDetailList":{ @@ -879,7 +887,8 @@ "Veeva":{"shape":"VeevaConnectorProfileProperties"}, "Zendesk":{"shape":"ZendeskConnectorProfileProperties"}, "SAPOData":{"shape":"SAPODataConnectorProfileProperties"}, - "CustomConnector":{"shape":"CustomConnectorProfileProperties"} + "CustomConnector":{"shape":"CustomConnectorProfileProperties"}, + "Pardot":{"shape":"PardotConnectorProfileProperties"} } }, "ConnectorProvisioningConfig":{ @@ -964,7 +973,8 @@ "Honeycode", "CustomerProfiles", "SAPOData", - "CustomConnector" + "CustomConnector", + "Pardot" ] }, "ConnectorTypeList":{ @@ -2235,6 +2245,54 @@ "NO_OP" ] }, + "PardotConnectorOperator":{ + "type":"string", + "enum":[ + "PROJECTION", + "EQUAL_TO", + "NO_OP", + "ADDITION", + "MULTIPLICATION", + "DIVISION", + "SUBTRACTION", + "MASK_ALL", + "MASK_FIRST_N", + "MASK_LAST_N", + "VALIDATE_NON_NULL", + "VALIDATE_NON_ZERO", + "VALIDATE_NON_NEGATIVE", + "VALIDATE_NUMERIC" + ] + }, + "PardotConnectorProfileCredentials":{ + "type":"structure", + "members":{ + "accessToken":{"shape":"AccessToken"}, + "refreshToken":{"shape":"RefreshToken"}, + "oAuthRequest":{"shape":"ConnectorOAuthRequest"}, + "clientCredentialsArn":{"shape":"ClientCredentialsArn"} + } + }, + "PardotConnectorProfileProperties":{ + "type":"structure", + "members":{ + "instanceUrl":{"shape":"InstanceUrl"}, + "isSandboxEnvironment":{"shape":"Boolean"}, + "businessUnitId":{"shape":"BusinessUnitId"} + } + }, + "PardotMetadata":{ + "type":"structure", + "members":{ + } + }, + "PardotSourceProperties":{ + "type":"structure", + "required":["object"], + "members":{ + "object":{"shape":"Object"} + } + }, "Password":{ "type":"string", "max":512, @@ -2960,7 +3018,8 @@ "Veeva":{"shape":"VeevaSourceProperties"}, "Zendesk":{"shape":"ZendeskSourceProperties"}, "SAPOData":{"shape":"SAPODataSourceProperties"}, - "CustomConnector":{"shape":"CustomConnectorSourceProperties"} + "CustomConnector":{"shape":"CustomConnectorSourceProperties"}, + "Pardot":{"shape":"PardotSourceProperties"} } }, "SourceFieldProperties":{ diff --git a/models/apis/appflow/2020-08-23/docs-2.json b/models/apis/appflow/2020-08-23/docs-2.json index d9eddd71515..db8c6642648 100644 --- a/models/apis/appflow/2020-08-23/docs-2.json +++ b/models/apis/appflow/2020-08-23/docs-2.json @@ -59,6 +59,7 @@ "MarketoConnectorProfileCredentials$accessToken": "

The credentials used to access protected Marketo resources.

", "OAuth2Credentials$accessToken": "

The access token used to access the connector on your behalf.

", "OAuthCredentials$accessToken": "

The access token used to access protected SAPOData resources.

", + "PardotConnectorProfileCredentials$accessToken": "

The credentials used to access protected Salesforce Pardot resources.

", "SalesforceConnectorProfileCredentials$accessToken": "

The credentials used to access protected Salesforce resources.

", "SlackConnectorProfileCredentials$accessToken": "

The credentials used to access protected Slack resources.

", "ZendeskConnectorProfileCredentials$accessToken": "

The credentials used to access protected Zendesk resources.

" @@ -251,6 +252,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.

", + "PardotConnectorProfileProperties$isSandboxEnvironment": "

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

", "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.

", @@ -291,6 +293,12 @@ "UpsolverDestinationProperties$bucketPrefix": "

The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.

" } }, + "BusinessUnitId": { + "base": null, + "refs": { + "PardotConnectorProfileProperties$businessUnitId": "

The business unit id of Salesforce Pardot instance.

" + } + }, "CatalogType": { "base": null, "refs": { @@ -300,6 +308,7 @@ "ClientCredentialsArn": { "base": null, "refs": { + "PardotConnectorProfileCredentials$clientCredentialsArn": "

The secret manager ARN, which contains the client ID and client secret of the connected app.

", "SalesforceConnectorProfileCredentials$clientCredentialsArn": "

The secret manager ARN, which contains the client ID and client secret of the connected app.

" } }, @@ -468,6 +477,7 @@ "MarketoConnectorProfileCredentials$oAuthRequest": "

The OAuth requirement needed to request security tokens from the connector endpoint.

", "OAuth2Credentials$oAuthRequest": null, "OAuthCredentials$oAuthRequest": "

The OAuth requirement needed to request security tokens from the connector endpoint.

", + "PardotConnectorProfileCredentials$oAuthRequest": null, "SalesforceConnectorProfileCredentials$oAuthRequest": "

The OAuth requirement needed to request security tokens from the connector endpoint.

", "SlackConnectorProfileCredentials$oAuthRequest": "

The OAuth requirement needed to request security tokens from the connector endpoint.

", "ZendeskConnectorProfileCredentials$oAuthRequest": "

The OAuth requirement needed to request security tokens from the connector endpoint.

" @@ -1368,6 +1378,7 @@ "DynatraceConnectorProfileProperties$instanceUrl": "

The location of the Dynatrace resource.

", "InforNexusConnectorProfileProperties$instanceUrl": "

The location of the Infor Nexus resource.

", "MarketoConnectorProfileProperties$instanceUrl": "

The location of the Marketo resource.

", + "PardotConnectorProfileProperties$instanceUrl": "

The location of the Salesforce Pardot resource.

", "SalesforceConnectorProfileProperties$instanceUrl": "

The location of the Salesforce resource.

", "ServiceNowConnectorProfileProperties$instanceUrl": "

The location of the ServiceNow resource.

", "SlackConnectorProfileProperties$instanceUrl": "

The location of the Slack resource.

", @@ -1683,6 +1694,7 @@ "InforNexusSourceProperties$object": "

The object specified in the Infor Nexus flow source.

", "MarketoDestinationProperties$object": "

The object specified in the Marketo flow destination.

", "MarketoSourceProperties$object": "

The object specified in the Marketo flow source.

", + "PardotSourceProperties$object": "

The object specified in the Salesforce Pardot flow source.

", "RedshiftDestinationProperties$object": "

The object specified in the Amazon Redshift flow destination.

", "SAPODataDestinationProperties$objectPath": "

The object path specified in the SAPOData flow destination.

", "SAPODataSourceProperties$objectPath": "

The object path specified in the SAPOData flow source.

", @@ -1723,6 +1735,36 @@ "SupportedOperatorList$member": null } }, + "PardotConnectorOperator": { + "base": null, + "refs": { + "ConnectorOperator$Pardot": "

The operation to be performed on the provided Salesforce Pardot source fields.

" + } + }, + "PardotConnectorProfileCredentials": { + "base": "

The connector-specific profile credentials required when using Salesforce Pardot.

", + "refs": { + "ConnectorProfileCredentials$Pardot": "

The connector-specific credentials required when using Salesforce Pardot.

" + } + }, + "PardotConnectorProfileProperties": { + "base": "

The connector-specific profile properties required when using Salesforce Pardot.

", + "refs": { + "ConnectorProfileProperties$Pardot": "

The connector-specific properties required by Salesforce Pardot.

" + } + }, + "PardotMetadata": { + "base": "

The connector metadata specific to Salesforce Pardot.

", + "refs": { + "ConnectorMetadata$Pardot": "

The connector metadata specific to Salesforce Pardot.

" + } + }, + "PardotSourceProperties": { + "base": "

The properties that are applied when Salesforce Pardot is being used as a source.

", + "refs": { + "SourceConnectorProperties$Pardot": "

Specifies the information that is required for querying Salesforce Pardot.

" + } + }, "Password": { "base": null, "refs": { @@ -1869,6 +1911,7 @@ "HoneycodeConnectorProfileCredentials$refreshToken": "

The credentials used to acquire new access tokens.

", "OAuth2Credentials$refreshToken": "

The refresh token used to refresh an expired access token.

", "OAuthCredentials$refreshToken": "

The refresh token used to refresh expired access token.

", + "PardotConnectorProfileCredentials$refreshToken": "

The credentials used to acquire new access tokens.

", "SalesforceConnectorProfileCredentials$refreshToken": "

The credentials used to acquire new access tokens.

" } }, 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 9e619c166db..45e1b7d9c2e 100644 --- a/models/apis/appflow/2020-08-23/endpoint-tests-1.json +++ b/models/apis/appflow/2020-08-23/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -424,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -437,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -450,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -463,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -476,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -489,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -502,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -515,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -528,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -541,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -554,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -567,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -580,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -593,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -606,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -619,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -632,9 +632,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -645,9 +645,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -658,9 +658,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -671,9 +671,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -684,9 +684,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -697,9 +697,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -710,9 +710,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -723,9 +723,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -736,9 +736,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -749,9 +749,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -762,9 +762,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -775,9 +775,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -788,9 +788,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -801,9 +801,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -814,9 +814,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -827,9 +827,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -840,9 +840,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -852,9 +852,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -864,9 +864,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/codeartifact/2018-09-22/docs-2.json b/models/apis/codeartifact/2018-09-22/docs-2.json index 17c304be56b..0aa3558778d 100644 --- a/models/apis/codeartifact/2018-09-22/docs-2.json +++ b/models/apis/codeartifact/2018-09-22/docs-2.json @@ -8,7 +8,7 @@ "CreateRepository": "

Creates a repository.

", "DeleteDomain": "

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

", "DeleteDomainPermissionsPolicy": "

Deletes the resource policy set on a domain.

", - "DeletePackageVersions": "

Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListackageVersions), but you can restore them using UpdatePackageVersionsStatus.

", + "DeletePackageVersions": "

Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus.

", "DeleteRepository": "

Deletes a repository.

", "DeleteRepositoryPermissionsPolicy": "

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

", "DescribeDomain": "

Returns a DomainDescription object that contains information about the requested domain.

", @@ -20,7 +20,7 @@ "GetAuthorizationToken": "

Generates a temporary authorization token for accessing repositories in the domain. This API requires the codeartifact:GetAuthorizationToken and sts:GetServiceBearerToken permissions. For more information about authorization tokens, see CodeArtifact authentication and tokens.

CodeArtifact authorization tokens are valid for a period of 12 hours when created with the login command. You can call login periodically to refresh the token. When you create an authorization token with the GetAuthorizationToken API, you can set a custom authorization period, up to a maximum of 12 hours, with the durationSeconds parameter.

The authorization period begins after login or GetAuthorizationToken is called. If login or GetAuthorizationToken is called while assuming a role, the token lifetime is independent of the maximum session duration of the role. For example, if you call sts assume-role and specify a session duration of 15 minutes, then generate a CodeArtifact authorization token, the token will be valid for the full authorization period even though this is longer than the 15-minute session duration.

See Using IAM Roles for more information on controlling session duration.

", "GetDomainPermissionsPolicy": "

Returns the resource policy attached to the specified domain.

The policy is a resource-based policy, not an identity-based policy. For more information, see Identity-based policies and resource-based policies in the IAM User Guide.

", "GetPackageVersionAsset": "

Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version.

", - "GetPackageVersionReadme": "

Gets the readme file or descriptive text for a package version. For packages that do not contain a readme file, CodeArtifact extracts a description from a metadata file. For example, from the <description> element in the pom.xml file of a Maven package.

The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.

", + "GetPackageVersionReadme": "

Gets the readme file or descriptive text for a package version.

The returned text might contain formatting. For example, it might contain formatting for Markdown or reStructuredText.

", "GetRepositoryEndpoint": "

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format:

", "GetRepositoryPermissionsPolicy": "

Returns the resource policy that is set on a repository.

", "ListDomains": "

Returns a list of DomainSummary objects for all domains owned by the Amazon Web Services account that makes this call. Each returned DomainSummary object contains information about a domain.

", @@ -409,7 +409,7 @@ "ExternalConnectionName": { "base": null, "refs": { - "AssociateExternalConnectionRequest$externalConnection": "

The name of the external connection to add to the repository. The following values are supported:

", + "AssociateExternalConnectionRequest$externalConnection": "

The name of the external connection to add to the repository. The following values are supported:

", "DisassociateExternalConnectionRequest$externalConnection": "

The name of the external connection to be removed from the repository.

", "DomainEntryPoint$externalConnectionName": "

The name of the external connection that a package was ingested from.

", "RepositoryExternalConnectionInfo$externalConnectionName": "

The name of the external connection associated with a repository.

" @@ -671,7 +671,7 @@ "DescribePackageVersionRequest$format": "

A format that specifies the type of the requested package version.

", "DisposePackageVersionsRequest$format": "

A format that specifies the type of package versions you want to dispose.

", "GetPackageVersionAssetRequest$format": "

A format that specifies the type of the package version with the requested asset file.

", - "GetPackageVersionReadmeRequest$format": "

A format that specifies the type of the package version with the requested readme file.

", + "GetPackageVersionReadmeRequest$format": "

A format that specifies the type of the package version with the requested readme file.

Although maven is listed as a valid value, CodeArtifact does not support displaying readme files for Maven packages.

", "GetPackageVersionReadmeResult$format": "

The format of the package with the requested readme file.

", "GetRepositoryEndpointRequest$format": "

Returns which endpoint of a repository to return. A repository has one endpoint for each package format.

", "ListPackageVersionAssetsRequest$format": "

The format of the package that contains the requested package version assets.

", @@ -732,7 +732,7 @@ "ListPackageVersionDependenciesResult$namespace": "

The namespace of the package version that contains the returned dependencies. The package version component that specifies its namespace depends on its type. For example:

", "ListPackageVersionsRequest$namespace": "

The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

", "ListPackageVersionsResult$namespace": "

The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:

", - "ListPackagesRequest$namespace": "

The namespace used to filter requested packages. Only packages with the provided namespace will be returned. The package component that specifies its namespace depends on its type. For example:

", + "ListPackagesRequest$namespace": "

The namespace prefix used to filter requested packages. Only packages with a namespace that starts with the provided string value are returned. Note that although this option is called --namespace and not --namespace-prefix, it has prefix-matching behavior.

Each package format uses namespace as follows:

", "PackageDependency$namespace": "

The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:

", "PackageDescription$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", "PackageSummary$namespace": "

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

", @@ -1077,7 +1077,7 @@ "InternalServerException$message": null, "LicenseInfo$name": "

Name of the license.

", "LicenseInfo$url": "

The URL for license data.

", - "PackageDependency$dependencyType": "

The type of a package dependency. The possible values depend on the package type. Example types are compile, runtime, and test for Maven packages, and dev, prod, and optional for npm packages.

", + "PackageDependency$dependencyType": "

The type of a package dependency. The possible values depend on the package type.

", "PackageDependency$versionRequirement": "

The required version, or version range, of the package that this package depends on. The version format is specific to the package type. For example, the following are possible valid required versions: 1.2.3, ^2.3.4, or 4.x.

", "PackageVersionDescription$summary": "

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

", "PackageVersionDescription$homePage": "

The homepage associated with the package.

", diff --git a/models/apis/codeartifact/2018-09-22/endpoint-rule-set-1.json b/models/apis/codeartifact/2018-09-22/endpoint-rule-set-1.json new file mode 100644 index 00000000000..eeb6299e474 --- /dev/null +++ b/models/apis/codeartifact/2018-09-22/endpoint-rule-set-1.json @@ -0,0 +1,306 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://codeartifact-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://codeartifact-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://codeartifact.{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://codeartifact.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/codeartifact/2018-09-22/endpoint-tests-1.json b/models/apis/codeartifact/2018-09-22/endpoint-tests-1.json new file mode 100644 index 00000000000..014251c1381 --- /dev/null +++ b/models/apis/codeartifact/2018-09-22/endpoint-tests-1.json @@ -0,0 +1,719 @@ +{ + "testCases": [ + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-south-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-south-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-south-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-central-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.us-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.us-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-north-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-north-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-north-1" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-west-3.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-west-3.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-3" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-west-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-west-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-northeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-southeast-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-southeast-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.us-east-1.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.us-east-1.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.us-east-2.api.aws" + } + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://codeartifact.us-east-2.amazonaws.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-2" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseDualStack": false, + "UseFIPS": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "UseFIPS": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 2213ecdddce..8521710d618 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -3303,7 +3303,8 @@ "InitiationTimestamp":{"shape":"timestamp"}, "DisconnectTimestamp":{"shape":"timestamp"}, "LastUpdateTimestamp":{"shape":"timestamp"}, - "ScheduledTimestamp":{"shape":"timestamp"} + "ScheduledTimestamp":{"shape":"timestamp"}, + "RelatedContactId":{"shape":"ContactId"} } }, "ContactFilter":{ @@ -7242,6 +7243,13 @@ "member":{"shape":"SecurityProfilePermission"}, "max":500 }, + "PersistentChat":{ + "type":"structure", + "members":{ + "RehydrationType":{"shape":"RehydrationType"}, + "SourceContactId":{"shape":"ContactId"} + } + }, "PhoneNumber":{ "type":"string", "pattern":"\\\\+[1-9]\\\\d{1,14}$" @@ -7930,6 +7938,13 @@ "max":4096, "min":0 }, + "RehydrationType":{ + "type":"string", + "enum":[ + "ENTIRE_PAST_SESSION", + "FROM_SEGMENT" + ] + }, "ReleasePhoneNumberRequest":{ "type":"structure", "required":["PhoneNumberId"], @@ -8601,7 +8616,8 @@ "idempotencyToken":true }, "ChatDurationInMinutes":{"shape":"ChatDurationInMinutes"}, - "SupportedMessagingContentTypes":{"shape":"SupportedMessagingContentTypes"} + "SupportedMessagingContentTypes":{"shape":"SupportedMessagingContentTypes"}, + "PersistentChat":{"shape":"PersistentChat"} } }, "StartChatContactResponse":{ @@ -8609,7 +8625,8 @@ "members":{ "ContactId":{"shape":"ContactId"}, "ParticipantId":{"shape":"ParticipantId"}, - "ParticipantToken":{"shape":"ParticipantToken"} + "ParticipantToken":{"shape":"ParticipantToken"}, + "ContinuedFromContactId":{"shape":"ContactId"} } }, "StartContactRecordingRequest":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 05c9edefe41..ec490f5e7f9 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -959,15 +959,18 @@ "Contact$Id": "

The identifier for the contact.

", "Contact$InitialContactId": "

If this contact is related to other contacts, this is the ID of the initial contact.

", "Contact$PreviousContactId": "

If this contact is not the first contact, this is the ID of the previous contact.

", + "Contact$RelatedContactId": "

The contactId that is related to this contact.

", "DescribeContactRequest$ContactId": "

The identifier of the contact.

", "DismissUserContactRequest$ContactId": "

The identifier of the contact.

", "GetContactAttributesRequest$InitialContactId": "

The identifier of the initial contact.

", "ListContactReferencesRequest$ContactId": "

The identifier of the initial contact.

", "MonitorContactRequest$ContactId": "

The identifier of the contact.

", "MonitorContactResponse$ContactId": "

The identifier of the contact.

", + "PersistentChat$SourceContactId": "

The contactId from which a persistent chat session must be started.

", "ResumeContactRecordingRequest$ContactId": "

The identifier of the contact.

", "ResumeContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StartChatContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", + "StartChatContactResponse$ContinuedFromContactId": "

The contactId from which a persistent chat session is started. This field is populated only for persistent chats.

", "StartContactRecordingRequest$ContactId": "

The identifier of the contact.

", "StartContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StartContactStreamingRequest$ContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", @@ -3273,6 +3276,12 @@ "UpdateSecurityProfileRequest$Permissions": "

The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.

" } }, + "PersistentChat": { + "base": "

Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how to configure for them, see Enable persistent chat.

", + "refs": { + "StartChatContactRequest$PersistentChat": "

Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how to configure for them, see Enable persistent chat.

" + } + }, "PhoneNumber": { "base": null, "refs": { @@ -3780,6 +3789,12 @@ "UrlReference$Value": "

A valid URL.

" } }, + "RehydrationType": { + "base": null, + "refs": { + "PersistentChat$RehydrationType": "

The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.

The actual contactId used for rehydration is provided in the response of this API.

" + } + }, "ReleasePhoneNumberRequest": { "base": null, "refs": { diff --git a/models/apis/connectparticipant/2018-09-07/api-2.json b/models/apis/connectparticipant/2018-09-07/api-2.json index 82630a3bf07..70534637c4c 100644 --- a/models/apis/connectparticipant/2018-09-07/api-2.json +++ b/models/apis/connectparticipant/2018-09-07/api-2.json @@ -411,7 +411,9 @@ "DisplayName":{"shape":"DisplayName"}, "ParticipantRole":{"shape":"ParticipantRole"}, "Attachments":{"shape":"Attachments"}, - "MessageMetadata":{"shape":"MessageMetadata"} + "MessageMetadata":{"shape":"MessageMetadata"}, + "RelatedContactId":{"shape":"ContactId"}, + "ContactId":{"shape":"ContactId"} } }, "MaxResults":{ diff --git a/models/apis/connectparticipant/2018-09-07/docs-2.json b/models/apis/connectparticipant/2018-09-07/docs-2.json index 5e8bd7ee4c0..59c2d5f50e8 100644 --- a/models/apis/connectparticipant/2018-09-07/docs-2.json +++ b/models/apis/connectparticipant/2018-09-07/docs-2.json @@ -6,7 +6,7 @@ "CreateParticipantConnection": "

Creates the participant's connection.

ParticipantToken is used for invoking this API instead of ConnectionToken.

The participant token is valid for the lifetime of the participant – until they are part of a contact.

The response URL for WEBSOCKET Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.

For chat, you need to publish the following on the established websocket connection:

{\"topic\":\"aws/subscribe\",\"content\":{\"topics\":[\"aws/chat\"]}}

Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.

Message streaming support: This API can also be used together with the StartContactStreaming API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect Administrator Guide.

Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications in the Amazon Connect Administrator Guide.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", "DisconnectParticipant": "

Disconnects a participant.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", "GetAttachment": "

Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", - "GetTranscript": "

Retrieves a transcript of the session, including details about any attachments.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", + "GetTranscript": "

Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see Enable persistent chat.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", "SendEvent": "

Sends an event.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", "SendMessage": "

Sends a message.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

", "StartAttachmentUpload": "

Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

" @@ -146,7 +146,9 @@ "base": null, "refs": { "GetTranscriptRequest$ContactId": "

The contactId from the current contact chain for which transcript is needed.

", - "GetTranscriptResponse$InitialContactId": "

The initial contact ID for the contact.

" + "GetTranscriptResponse$InitialContactId": "

The initial contact ID for the contact.

", + "Item$RelatedContactId": "

The contactId on which the transcript item was originally sent. This field is only populated for persistent chats when the transcript item is from the past chat session. For more information, see Enable persistent chat.

", + "Item$ContactId": "

The contactId on which the transcript item was originally sent. This field is populated only when the transcript item is from the current chat session.

" } }, "ContentType": { diff --git a/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json b/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json index 2c41d97d82b..d1f959498b7 100644 --- a/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json +++ b/models/apis/connectparticipant/2018-09-07/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -424,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -437,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -450,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -463,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -476,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -489,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -502,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -515,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -528,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -541,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -554,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -567,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -580,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -593,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -606,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -619,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -632,9 +632,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -644,9 +644,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -656,9 +656,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 1ac36b467c0..d7637379c93 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -10226,7 +10226,8 @@ "LaunchTemplateName":{"shape":"LaunchTemplateName"}, "SourceVersion":{"shape":"String"}, "VersionDescription":{"shape":"VersionDescription"}, - "LaunchTemplateData":{"shape":"RequestLaunchTemplateData"} + "LaunchTemplateData":{"shape":"RequestLaunchTemplateData"}, + "ResolveAlias":{"shape":"Boolean"} } }, "CreateLaunchTemplateVersionResult":{ @@ -15602,7 +15603,8 @@ "Filters":{ "shape":"FilterList", "locationName":"Filter" - } + }, + "ResolveAlias":{"shape":"Boolean"} } }, "DescribeLaunchTemplateVersionsResult":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 75fde218a3b..3a310041379 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -1901,6 +1901,7 @@ "CreateKeyPairRequest$DryRun": "

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

", "CreateLaunchTemplateRequest$DryRun": "

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

", "CreateLaunchTemplateVersionRequest$DryRun": "

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

", + "CreateLaunchTemplateVersionRequest$ResolveAlias": "

If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

Default: false

", "CreateLocalGatewayRouteRequest$DryRun": "

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

", "CreateLocalGatewayRouteTableRequest$DryRun": "

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

", "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest$DryRun": "

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

", @@ -2111,6 +2112,7 @@ "DescribeKeyPairsRequest$DryRun": "

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

", "DescribeKeyPairsRequest$IncludePublicKey": "

If true, the public key material is included in the response.

Default: false

", "DescribeLaunchTemplateVersionsRequest$DryRun": "

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

", + "DescribeLaunchTemplateVersionsRequest$ResolveAlias": "

If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is displayed in the response for imageId.

If false, and if a Systems Manager parameter is specified for ImageId, the parameter is displayed in the response for imageId.

For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

Default: false

", "DescribeLaunchTemplatesRequest$DryRun": "

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

", "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest$DryRun": "

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

", "DescribeLocalGatewayRouteTableVpcAssociationsRequest$DryRun": "

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

", @@ -10104,7 +10106,7 @@ "ImageIdStringList$member": null, "ModifyImageAttributeRequest$ImageId": "

The ID of the AMI.

", "ReplaceRootVolumeTask$ImageId": "

The ID of the AMI used to create the replacement root volume.

", - "RequestLaunchTemplateData$ImageId": "

The ID of the AMI.

", + "RequestLaunchTemplateData$ImageId": "

The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch.

Valid formats:

For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

", "RequestSpotLaunchSpecification$ImageId": "

The ID of the AMI.

", "ResetImageAttributeRequest$ImageId": "

The ID of the AMI.

", "RestoreImageFromRecycleBinRequest$ImageId": "

The ID of the AMI to restore.

", @@ -19020,7 +19022,7 @@ "ResponseHostIdList$member": null, "ResponseHostIdSet$member": null, "ResponseLaunchTemplateData$KernelId": "

The ID of the kernel, if applicable.

", - "ResponseLaunchTemplateData$ImageId": "

The ID of the AMI that was used to launch the instance.

", + "ResponseLaunchTemplateData$ImageId": "

The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will resolve to the ID of the AMI at instance launch.

The value depends on what you specified in the request. The possible values are:

For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

", "ResponseLaunchTemplateData$KeyName": "

The name of the key pair.

", "ResponseLaunchTemplateData$RamDiskId": "

The ID of the RAM disk, if applicable.

", "ResponseLaunchTemplateData$UserData": "

The user data for the instance.

", diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index 02bccca8b8c..ffb184dce32 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -3939,6 +3939,21 @@ "max":100, "min":1 }, + "CatalogHudiSource":{ + "type":"structure", + "required":[ + "Name", + "Database", + "Table" + ], + "members":{ + "Name":{"shape":"NodeName"}, + "Database":{"shape":"EnclosedInStringProperty"}, + "Table":{"shape":"EnclosedInStringProperty"}, + "AdditionalHudiOptions":{"shape":"AdditionalOptions"}, + "OutputSchemas":{"shape":"GlueSchemas"} + } + }, "CatalogIdString":{ "type":"string", "max":255, @@ -4145,7 +4160,12 @@ "OracleSQLCatalogTarget":{"shape":"OracleSQLCatalogTarget"}, "PostgreSQLCatalogTarget":{"shape":"PostgreSQLCatalogTarget"}, "DynamicTransform":{"shape":"DynamicTransform"}, - "EvaluateDataQuality":{"shape":"EvaluateDataQuality"} + "EvaluateDataQuality":{"shape":"EvaluateDataQuality"}, + "S3CatalogHudiSource":{"shape":"S3CatalogHudiSource"}, + "CatalogHudiSource":{"shape":"CatalogHudiSource"}, + "S3HudiSource":{"shape":"S3HudiSource"}, + "S3HudiCatalogTarget":{"shape":"S3HudiCatalogTarget"}, + "S3HudiDirectTarget":{"shape":"S3HudiDirectTarget"} } }, "CodeGenConfigurationNodes":{ @@ -7932,6 +7952,15 @@ "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" }, + "HudiTargetCompressionType":{ + "type":"string", + "enum":[ + "gzip", + "lzo", + "uncompressed", + "snappy" + ] + }, "IdString":{ "type":"string", "max":255, @@ -9985,6 +10014,21 @@ "Id":{"shape":"IntegerValue"} } }, + "S3CatalogHudiSource":{ + "type":"structure", + "required":[ + "Name", + "Database", + "Table" + ], + "members":{ + "Name":{"shape":"NodeName"}, + "Database":{"shape":"EnclosedInStringProperty"}, + "Table":{"shape":"EnclosedInStringProperty"}, + "AdditionalHudiOptions":{"shape":"AdditionalOptions"}, + "OutputSchemas":{"shape":"GlueSchemas"} + } + }, "S3CatalogSource":{ "type":"structure", "required":[ @@ -10109,6 +10153,60 @@ "SchemaChangePolicy":{"shape":"DirectSchemaChangePolicy"} } }, + "S3HudiCatalogTarget":{ + "type":"structure", + "required":[ + "Name", + "Inputs", + "Table", + "Database", + "AdditionalOptions" + ], + "members":{ + "Name":{"shape":"NodeName"}, + "Inputs":{"shape":"OneInput"}, + "PartitionKeys":{"shape":"GlueStudioPathList"}, + "Table":{"shape":"EnclosedInStringProperty"}, + "Database":{"shape":"EnclosedInStringProperty"}, + "AdditionalOptions":{"shape":"AdditionalOptions"}, + "SchemaChangePolicy":{"shape":"CatalogSchemaChangePolicy"} + } + }, + "S3HudiDirectTarget":{ + "type":"structure", + "required":[ + "Name", + "Inputs", + "Path", + "Compression", + "Format", + "AdditionalOptions" + ], + "members":{ + "Name":{"shape":"NodeName"}, + "Inputs":{"shape":"OneInput"}, + "Path":{"shape":"EnclosedInStringProperty"}, + "Compression":{"shape":"HudiTargetCompressionType"}, + "PartitionKeys":{"shape":"GlueStudioPathList"}, + "Format":{"shape":"TargetFormat"}, + "AdditionalOptions":{"shape":"AdditionalOptions"}, + "SchemaChangePolicy":{"shape":"DirectSchemaChangePolicy"} + } + }, + "S3HudiSource":{ + "type":"structure", + "required":[ + "Name", + "Paths" + ], + "members":{ + "Name":{"shape":"NodeName"}, + "Paths":{"shape":"EnclosedInStringProperties"}, + "AdditionalHudiOptions":{"shape":"AdditionalOptions"}, + "AdditionalOptions":{"shape":"S3DirectSourceAdditionalOptions"}, + "OutputSchemas":{"shape":"GlueSchemas"} + } + }, "S3JsonSource":{ "type":"structure", "required":[ @@ -11172,7 +11270,8 @@ "csv", "avro", "orc", - "parquet" + "parquet", + "hudi" ] }, "TaskRun":{ diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index 13a1f1bcff3..cdab107c811 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -234,7 +234,12 @@ "AdditionalOptions": { "base": null, "refs": { + "CatalogHudiSource$AdditionalHudiOptions": "

Specifies additional connection options.

", "JDBCConnectorTarget$AdditionalOptions": "

Additional connection options for the connector.

", + "S3CatalogHudiSource$AdditionalHudiOptions": "

Specifies additional connection options.

", + "S3HudiCatalogTarget$AdditionalOptions": "

Specifies additional connection options for the connector.

", + "S3HudiDirectTarget$AdditionalOptions": null, + "S3HudiSource$AdditionalHudiOptions": "

Specifies additional connection options.

", "SparkConnectorSource$AdditionalOptions": "

Additional connection options for the connector.

", "SparkConnectorTarget$AdditionalOptions": "

Additional connection options for the connector.

" } @@ -887,6 +892,12 @@ "GetUserDefinedFunctionsRequest$MaxResults": "

The maximum number of functions to return in one response.

" } }, + "CatalogHudiSource": { + "base": "

Specifies a Hudi data source that is registered in the Glue Data Catalog.

", + "refs": { + "CodeGenConfigurationNode$CatalogHudiSource": "

Specifies a Hudi data source that is registered in the Glue Data Catalog.

" + } + }, "CatalogIdString": { "base": null, "refs": { @@ -972,7 +983,8 @@ "base": "

A policy that specifies update behavior for the crawler.

", "refs": { "GovernedCatalogTarget$SchemaChangePolicy": "

A policy that specifies update behavior for the governed catalog.

", - "S3CatalogTarget$SchemaChangePolicy": "

A policy that specifies update behavior for the crawler.

" + "S3CatalogTarget$SchemaChangePolicy": "

A policy that specifies update behavior for the crawler.

", + "S3HudiCatalogTarget$SchemaChangePolicy": null } }, "CatalogSource": { @@ -2546,7 +2558,8 @@ "base": "

A policy that specifies update behavior for the crawler.

", "refs": { "S3DirectTarget$SchemaChangePolicy": "

A policy that specifies update behavior for the crawler.

", - "S3GlueParquetTarget$SchemaChangePolicy": "

A policy that specifies update behavior for the crawler.

" + "S3GlueParquetTarget$SchemaChangePolicy": "

A policy that specifies update behavior for the crawler.

", + "S3HudiDirectTarget$SchemaChangePolicy": null } }, "Double": { @@ -2648,6 +2661,7 @@ "RenameField$TargetPath": "

A JSON path to a variable in the data structure for the target data.

", "S3CsvSource$Paths": "

A list of the Amazon S3 paths to read from.

", "S3CsvSource$Exclusions": "

A string containing a JSON list of Unix-style glob patterns to exclude. For example, \"[\\\"**.pdf\\\"]\" excludes all PDF files.

", + "S3HudiSource$Paths": "

A list of the Amazon S3 paths to read from.

", "S3JsonSource$Paths": "

A list of the Amazon S3 paths to read from.

", "S3JsonSource$Exclusions": "

A string containing a JSON list of Unix-style glob patterns to exclude. For example, \"[\\\"**.pdf\\\"]\" excludes all PDF files.

", "S3ParquetSource$Paths": "

A list of the Amazon S3 paths to read from.

", @@ -2672,6 +2686,8 @@ "AthenaConnectorSource$SchemaName": "

The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output.

", "BasicCatalogTarget$Database": "

The database that contains the table you want to use as the target. This database must already exist in the Data Catalog.

", "BasicCatalogTarget$Table": "

The table that defines the schema of your output data. This table must already exist in the Data Catalog.

", + "CatalogHudiSource$Database": "

The name of the database to read from.

", + "CatalogHudiSource$Table": "

The name of the table in the database to read from.

", "CatalogKafkaSource$Table": "

The name of the table in the database to read from.

", "CatalogKafkaSource$Database": "

The name of the database to read from.

", "CatalogKinesisSource$Table": "

The name of the table in the database to read from.

", @@ -2756,6 +2772,8 @@ "RedshiftTarget$TmpDirIAMRole": "

The IAM role with permissions.

", "RelationalCatalogSource$Database": "

The name of the database to read from.

", "RelationalCatalogSource$Table": "

The name of the table in the database to read from.

", + "S3CatalogHudiSource$Database": "

The name of the database to read from.

", + "S3CatalogHudiSource$Table": "

The name of the table in the database to read from.

", "S3CatalogSource$Database": "

The database to read from.

", "S3CatalogSource$Table": "

The database table to read from.

", "S3CatalogSource$PartitionPredicate": "

Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted. Set to \"\" – empty by default.

", @@ -2767,6 +2785,9 @@ "S3DirectTarget$Path": "

A single Amazon S3 path to write to.

", "S3DirectTarget$Compression": "

Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are \"gzip\" and \"bzip\").

", "S3GlueParquetTarget$Path": "

A single Amazon S3 path to write to.

", + "S3HudiCatalogTarget$Table": "

The name of the table in the database to write to.

", + "S3HudiCatalogTarget$Database": "

The name of the database to write to.

", + "S3HudiDirectTarget$Path": "

The Amazon S3 path of your Hudi data source to write to.

", "S3JsonSource$GroupSize": "

The target group size in bytes. The default is computed based on the input data size and the size of your cluster. When there are fewer than 50,000 input files, \"groupFiles\" must be set to \"inPartition\" for this to take effect.

", "S3JsonSource$GroupFiles": "

Grouping files is turned on by default when the input contains more than 50,000 files. To turn on grouping with fewer than 50,000 files, set this parameter to \"inPartition\". To disable grouping when there are more than 50,000 files, set this parameter to \"none\".

", "S3JsonSource$JsonPath": "

A JsonPath string defining the JSON data.

", @@ -3921,10 +3942,13 @@ "base": null, "refs": { "AthenaConnectorSource$OutputSchemas": "

Specifies the data schema for the custom Athena source.

", + "CatalogHudiSource$OutputSchemas": "

Specifies the data schema for the Hudi source.

", "CustomCode$OutputSchemas": "

Specifies the data schema for the custom code transform.

", "JDBCConnectorSource$OutputSchemas": "

Specifies the data schema for the custom JDBC source.

", "JDBCConnectorTarget$OutputSchemas": "

Specifies the data schema for the JDBC target.

", + "S3CatalogHudiSource$OutputSchemas": "

Specifies the data schema for the Hudi source.

", "S3CsvSource$OutputSchemas": "

Specifies the data schema for the S3 CSV source.

", + "S3HudiSource$OutputSchemas": "

Specifies the data schema for the Hudi source.

", "S3JsonSource$OutputSchemas": "

Specifies the data schema for the S3 JSON source.

", "S3ParquetSource$OutputSchemas": "

Specifies the data schema for the S3 Parquet source.

", "SparkConnectorSource$OutputSchemas": "

Specifies data schema for the custom spark source.

", @@ -3949,6 +3973,8 @@ "S3CatalogTarget$PartitionKeys": "

Specifies native partitioning using a sequence of keys.

", "S3DirectTarget$PartitionKeys": "

Specifies native partitioning using a sequence of keys.

", "S3GlueParquetTarget$PartitionKeys": "

Specifies native partitioning using a sequence of keys.

", + "S3HudiCatalogTarget$PartitionKeys": "

Specifies native partitioning using a sequence of keys.

", + "S3HudiDirectTarget$PartitionKeys": "

Specifies native partitioning using a sequence of keys.

", "SelectFields$Paths": "

A JSON path to a variable in the data structure.

", "SplitFields$Paths": "

A JSON path to a variable in the data structure.

" } @@ -4098,6 +4124,12 @@ "UpdateMLTransformResponse$TransformId": "

The unique identifier for the transform that was updated.

" } }, + "HudiTargetCompressionType": { + "base": null, + "refs": { + "S3HudiDirectTarget$Compression": "

Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are \"gzip\" and \"bzip\").

" + } + }, "IdString": { "base": null, "refs": { @@ -5398,6 +5430,7 @@ "ApplyMapping$Name": "

The name of the transform node.

", "AthenaConnectorSource$Name": "

The name of the data source.

", "BasicCatalogTarget$Name": "

The name of your data target.

", + "CatalogHudiSource$Name": "

The name of the Hudi data source.

", "CatalogKafkaSource$Name": "

The name of the data store.

", "CatalogKinesisSource$Name": "

The name of the data source.

", "CatalogSource$Name": "

The name of the data store.

", @@ -5430,11 +5463,15 @@ "RedshiftTarget$Name": "

The name of the data target.

", "RelationalCatalogSource$Name": "

The name of the data source.

", "RenameField$Name": "

The name of the transform node.

", + "S3CatalogHudiSource$Name": "

The name of the Hudi data source.

", "S3CatalogSource$Name": "

The name of the data store.

", "S3CatalogTarget$Name": "

The name of the data target.

", "S3CsvSource$Name": "

The name of the data store.

", "S3DirectTarget$Name": "

The name of the data target.

", "S3GlueParquetTarget$Name": "

The name of the data target.

", + "S3HudiCatalogTarget$Name": "

The name of the data target.

", + "S3HudiDirectTarget$Name": "

The name of the data target.

", + "S3HudiSource$Name": "

The name of the Hudi source.

", "S3JsonSource$Name": "

The name of the data store.

", "S3ParquetSource$Name": "

The name of the data store.

", "SelectFields$Name": "

The name of the transform node.

", @@ -5643,6 +5680,8 @@ "S3CatalogTarget$Inputs": "

The nodes that are inputs to the data target.

", "S3DirectTarget$Inputs": "

The nodes that are inputs to the data target.

", "S3GlueParquetTarget$Inputs": "

The nodes that are inputs to the data target.

", + "S3HudiCatalogTarget$Inputs": "

The nodes that are inputs to the data target.

", + "S3HudiDirectTarget$Inputs": "

The nodes that are inputs to the data target.

", "SelectFields$Inputs": "

The data inputs identified by their node names.

", "SelectFromCollection$Inputs": "

The data inputs identified by their node names.

", "SparkConnectorTarget$Inputs": "

The nodes that are inputs to the data target.

", @@ -6417,6 +6456,12 @@ "refs": { } }, + "S3CatalogHudiSource": { + "base": "

Specifies a Hudi data source that is registered in the Glue Data Catalog. The Hudi data source must be stored in Amazon S3.

", + "refs": { + "CodeGenConfigurationNode$S3CatalogHudiSource": "

Specifies a Hudi data source that is registered in the Glue Data Catalog. The Hudi data source must be stored in Amazon S3.

" + } + }, "S3CatalogSource": { "base": "

Specifies an Amazon S3 data store in the Glue Data Catalog.

", "refs": { @@ -6439,6 +6484,7 @@ "base": "

Specifies additional connection options for the Amazon S3 data store.

", "refs": { "S3CsvSource$AdditionalOptions": "

Specifies additional connection options.

", + "S3HudiSource$AdditionalOptions": null, "S3JsonSource$AdditionalOptions": "

Specifies additional connection options.

", "S3ParquetSource$AdditionalOptions": "

Specifies additional connection options.

" } @@ -6473,6 +6519,24 @@ "CodeGenConfigurationNode$S3GlueParquetTarget": "

Specifies a data target that writes to Amazon S3 in Apache Parquet columnar storage.

" } }, + "S3HudiCatalogTarget": { + "base": "

Specifies a target that writes to a Hudi data source in the Glue Data Catalog.

", + "refs": { + "CodeGenConfigurationNode$S3HudiCatalogTarget": "

Specifies a target that writes to a Hudi data source in the Glue Data Catalog.

" + } + }, + "S3HudiDirectTarget": { + "base": "

Specifies a target that writes to a Hudi data source in Amazon S3.

", + "refs": { + "CodeGenConfigurationNode$S3HudiDirectTarget": "

Specifies a target that writes to a Hudi data source in Amazon S3.

" + } + }, + "S3HudiSource": { + "base": "

Specifies a Hudi data source stored in Amazon S3.

", + "refs": { + "CodeGenConfigurationNode$S3HudiSource": "

Specifies a Hudi data source stored in Amazon S3.

" + } + }, "S3JsonSource": { "base": "

Specifies a JSON data store stored in Amazon S3.

", "refs": { @@ -7345,7 +7409,8 @@ "TargetFormat": { "base": null, "refs": { - "S3DirectTarget$Format": "

Specifies the data output format for the target.

" + "S3DirectTarget$Format": "

Specifies the data output format for the target.

", + "S3HudiDirectTarget$Format": "

Specifies the data output format for the target.

" } }, "TaskRun": { diff --git a/models/apis/glue/2017-03-31/endpoint-tests-1.json b/models/apis/glue/2017-03-31/endpoint-tests-1.json index d2bcd4f5098..7037dbd5ec3 100644 --- a/models/apis/glue/2017-03-31/endpoint-tests-1.json +++ b/models/apis/glue/2017-03-31/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -424,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -437,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -450,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -463,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -476,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -489,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -502,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -515,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -528,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -541,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -554,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -567,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -580,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -593,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -606,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -619,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -632,9 +632,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -645,9 +645,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -658,9 +658,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -671,9 +671,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -684,9 +684,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -697,9 +697,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -710,9 +710,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -723,9 +723,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -736,9 +736,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -749,9 +749,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -762,9 +762,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -775,9 +775,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -788,9 +788,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -801,9 +801,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -814,9 +814,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -827,9 +827,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -840,9 +840,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -853,9 +853,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -866,9 +866,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -879,9 +879,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -892,9 +892,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -905,9 +905,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -918,9 +918,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -931,9 +931,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -944,9 +944,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -957,9 +957,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -970,9 +970,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -983,9 +983,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -996,9 +996,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1009,9 +1009,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1022,9 +1022,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1035,9 +1035,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1048,9 +1048,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1061,9 +1061,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1074,9 +1074,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1087,9 +1087,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1100,9 +1100,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1113,9 +1113,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1126,9 +1126,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1139,9 +1139,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1152,9 +1152,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1165,9 +1165,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1178,9 +1178,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1191,9 +1191,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1204,9 +1204,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1217,9 +1217,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1230,9 +1230,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1243,9 +1243,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1254,9 +1254,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1267,9 +1267,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1278,9 +1278,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1291,9 +1291,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1304,9 +1304,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1317,9 +1317,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1330,9 +1330,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1343,9 +1343,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1356,9 +1356,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1369,9 +1369,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1382,9 +1382,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1395,9 +1395,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1408,9 +1408,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1421,9 +1421,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1434,9 +1434,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1447,9 +1447,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1460,9 +1460,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1473,9 +1473,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1486,9 +1486,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1499,9 +1499,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1510,9 +1510,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1523,9 +1523,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1534,9 +1534,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1547,9 +1547,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1560,9 +1560,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1572,9 +1572,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1584,9 +1584,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/groundstation/2019-05-23/api-2.json b/models/apis/groundstation/2019-05-23/api-2.json index cff0f15903e..ed013c78913 100644 --- a/models/apis/groundstation/2019-05-23/api-2.json +++ b/models/apis/groundstation/2019-05-23/api-2.json @@ -673,6 +673,8 @@ "type":"structure", "required":["endpointDetails"], "members":{ + "contactPostPassDurationSeconds":{"shape":"DataflowEndpointGroupDurationInSeconds"}, + "contactPrePassDurationSeconds":{"shape":"DataflowEndpointGroupDurationInSeconds"}, "endpointDetails":{"shape":"EndpointDetailsList"}, "tags":{"shape":"TagsMap"} } @@ -764,6 +766,12 @@ } }, "DataflowEndpointGroupArn":{"type":"string"}, + "DataflowEndpointGroupDurationInSeconds":{ + "type":"integer", + "box":true, + "max":480, + "min":120 + }, "DataflowEndpointGroupIdResponse":{ "type":"structure", "members":{ @@ -1168,6 +1176,8 @@ "GetDataflowEndpointGroupResponse":{ "type":"structure", "members":{ + "contactPostPassDurationSeconds":{"shape":"DataflowEndpointGroupDurationInSeconds"}, + "contactPrePassDurationSeconds":{"shape":"DataflowEndpointGroupDurationInSeconds"}, "dataflowEndpointGroupArn":{"shape":"DataflowEndpointGroupArn"}, "dataflowEndpointGroupId":{"shape":"Uuid"}, "endpointsDetails":{"shape":"EndpointDetailsList"}, diff --git a/models/apis/groundstation/2019-05-23/docs-2.json b/models/apis/groundstation/2019-05-23/docs-2.json index 9c7642a9d50..c2e5cecda9a 100644 --- a/models/apis/groundstation/2019-05-23/docs-2.json +++ b/models/apis/groundstation/2019-05-23/docs-2.json @@ -264,6 +264,15 @@ "GetDataflowEndpointGroupResponse$dataflowEndpointGroupArn": "

ARN of a dataflow endpoint group.

" } }, + "DataflowEndpointGroupDurationInSeconds": { + "base": null, + "refs": { + "CreateDataflowEndpointGroupRequest$contactPostPassDurationSeconds": "

Amount of time, in seconds, after a contact ends for the contact to remain in a POSTPASS state. A CloudWatch event is emitted when the contact enters and exits the POSTPASS state.

", + "CreateDataflowEndpointGroupRequest$contactPrePassDurationSeconds": "

Amount of time, in seconds, prior to contact start for the contact to remain in a PREPASS state. A CloudWatch event is emitted when the contact enters and exits the PREPASS state.

", + "GetDataflowEndpointGroupResponse$contactPostPassDurationSeconds": "

Amount of time, in seconds, after a contact ends for the contact to remain in a POSTPASS state. A CloudWatch event is emitted when the contact enters and exits the POSTPASS state.

", + "GetDataflowEndpointGroupResponse$contactPrePassDurationSeconds": "

Amount of time, in seconds, prior to contact start for the contact to remain in a PREPASS state. A CloudWatch event is emitted when the contact enters and exits the PREPASS state.

" + } + }, "DataflowEndpointGroupIdResponse": { "base": "

", "refs": { diff --git a/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json b/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json index 24b35d1da46..c44dafdae7e 100644 --- a/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json +++ b/models/apis/groundstation/2019-05-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" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -174,12 +165,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -284,12 +281,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -302,12 +305,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } diff --git a/models/apis/groundstation/2019-05-23/endpoint-tests-1.json b/models/apis/groundstation/2019-05-23/endpoint-tests-1.json index 86cc42b2d13..503e1d369a4 100644 --- a/models/apis/groundstation/2019-05-23/endpoint-tests-1.json +++ b/models/apis/groundstation/2019-05-23/endpoint-tests-1.json @@ -1,94 +1,81 @@ { "testCases": [ { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.ca-central-1.api.aws" + "url": "https://groundstation-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" + "UseFIPS": true } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.ca-central-1.amazonaws.com" + "url": "https://groundstation-fips.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "UseFIPS": true } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://groundstation.ca-central-1.api.aws" + "url": "https://groundstation.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "ca-central-1" + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.ca-central-1.amazonaws.com" + "url": "https://groundstation.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "UseFIPS": false } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.eu-central-1.amazonaws.com" + "url": "https://groundstation-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" + "UseFIPS": true } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.eu-central-1.api.aws" + "url": "https://groundstation.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-central-1" + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -99,204 +86,35 @@ } }, "params": { + "Region": "eu-central-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation.us-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.af-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "af-south-1" + "UseFIPS": false } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.af-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation.af-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.eu-north-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-north-1" - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.eu-north-1.amazonaws.com" + "url": "https://groundstation.us-east-2.amazonaws.com" } }, "params": { + "Region": "us-east-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-north-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.eu-west-1.amazonaws.com" + "url": "https://groundstation-fips.us-east-2.amazonaws.com" } }, "params": { + "Region": "us-east-2", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" + "UseFIPS": true } }, { @@ -307,100 +125,9 @@ } }, "params": { + "Region": "eu-west-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.me-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.me-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "me-south-1" - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.me-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "me-south-1" + "UseFIPS": false } }, { @@ -411,48 +138,35 @@ } }, "params": { + "Region": "me-south-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "me-south-1" + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.sa-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "sa-east-1" - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.sa-east-1.amazonaws.com" + "url": "https://groundstation.ap-southeast-2.amazonaws.com" } }, "params": { + "Region": "ap-southeast-2", "UseDualStack": false, - "UseFIPS": true, - "Region": "sa-east-1" + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.sa-east-1.api.aws" + "url": "https://groundstation.eu-north-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" + "Region": "eu-north-1", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -463,113 +177,87 @@ } }, "params": { + "Region": "sa-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.ap-southeast-1.amazonaws.com" + "url": "https://groundstation.us-west-2.amazonaws.com" } }, "params": { + "Region": "us-west-2", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://groundstation.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.ap-southeast-1.amazonaws.com" + "url": "https://groundstation-fips.us-west-2.amazonaws.com" } }, "params": { + "Region": "us-west-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.ap-southeast-2.api.aws" + "url": "https://groundstation.af-south-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" + "Region": "af-south-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.ap-southeast-2.amazonaws.com" + "url": "https://groundstation.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.ap-southeast-2.api.aws" + "url": "https://groundstation-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.ap-southeast-2.amazonaws.com" + "url": "https://groundstation.ap-northeast-2.amazonaws.com" } }, "params": { + "Region": "ap-northeast-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { @@ -580,100 +268,100 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.us-east-1.amazonaws.com" + "url": "https://groundstation.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://groundstation.us-east-1.api.aws" + "url": "https://groundstation-fips.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.us-east-1.amazonaws.com" + "url": "https://groundstation-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.us-east-2.api.aws" + "url": "https://groundstation.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation-fips.us-east-2.amazonaws.com" + "url": "https://groundstation.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.us-east-2.api.aws" + "url": "https://groundstation-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-2" + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://groundstation.us-east-2.amazonaws.com" + "url": "https://groundstation.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-2" + "UseFIPS": false } }, { @@ -684,9 +372,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -696,9 +384,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -708,9 +396,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/groundstation/2019-05-23/waiters-2.json b/models/apis/groundstation/2019-05-23/waiters-2.json new file mode 100644 index 00000000000..c0080e29c58 --- /dev/null +++ b/models/apis/groundstation/2019-05-23/waiters-2.json @@ -0,0 +1,22 @@ +{ + "version" : 2, + "waiters" : { + "ContactScheduled" : { + "description" : "Waits until a contact has been scheduled", + "delay" : 5, + "maxAttempts" : 180, + "operation" : "DescribeContact", + "acceptors" : [ { + "matcher" : "path", + "argument" : "contactStatus", + "state" : "failure", + "expected" : "FAILED_TO_SCHEDULE" + }, { + "matcher" : "path", + "argument" : "contactStatus", + "state" : "success", + "expected" : "SCHEDULED" + } ] + } + } +} \ No newline at end of file diff --git a/models/apis/logs/2014-03-28/api-2.json b/models/apis/logs/2014-03-28/api-2.json index 3380cf04e07..35e190afa94 100644 --- a/models/apis/logs/2014-03-28/api-2.json +++ b/models/apis/logs/2014-03-28/api-2.json @@ -1764,8 +1764,7 @@ "QueryDefinitionName":{ "type":"string", "max":255, - "min":1, - "pattern":"^([^:*\\/]+\\/?)*[^:*\\/]+$" + "min":1 }, "QueryDefinitionString":{ "type":"string", diff --git a/models/apis/logs/2014-03-28/docs-2.json b/models/apis/logs/2014-03-28/docs-2.json index bd78401123b..053eac39ff1 100644 --- a/models/apis/logs/2014-03-28/docs-2.json +++ b/models/apis/logs/2014-03-28/docs-2.json @@ -701,12 +701,12 @@ "base": null, "refs": { "DeleteDataProtectionPolicyRequest$logGroupIdentifier": "

The name or ARN of the log group that you want to delete the data protection policy for.

", - "DescribeLogStreamsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "FilterLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view log events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "DescribeLogStreamsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

", + "FilterLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view log events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

", "GetDataProtectionPolicyRequest$logGroupIdentifier": "

The name or ARN of the log group that contains the data protection policy that you want to see.

", "GetDataProtectionPolicyResponse$logGroupIdentifier": "

The log group name or ARN that you specified in your request.

", - "GetLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "GetLogGroupFieldsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "GetLogEventsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

", + "GetLogGroupFieldsRequest$logGroupIdentifier": "

Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.

You must include either logGroupIdentifier or logGroupName, but not both.

", "LogGroupIdentifiers$member": null, "PutDataProtectionPolicyRequest$logGroupIdentifier": "

Specify either the log group name or log group ARN.

", "PutDataProtectionPolicyResponse$logGroupIdentifier": "

The log group name or ARN that you specified in your request.

" @@ -731,15 +731,15 @@ "DeleteRetentionPolicyRequest$logGroupName": "

The name of the log group.

", "DeleteSubscriptionFilterRequest$logGroupName": "

The name of the log group.

", "DescribeLogGroupsRequest$logGroupNamePrefix": "

The prefix to match.

logGroupNamePrefix and logGroupNamePattern are mutually exclusive. Only one of these parameters can be passed.

", - "DescribeLogStreamsRequest$logGroupName": "

The name of the log group.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "DescribeLogStreamsRequest$logGroupName": "

The name of the log group.

You must include either logGroupIdentifier or logGroupName, but not both.

", "DescribeMetricFiltersRequest$logGroupName": "

The name of the log group.

", "DescribeQueriesRequest$logGroupName": "

Limits the returned queries to only those for the specified log group.

", "DescribeSubscriptionFiltersRequest$logGroupName": "

The name of the log group.

", "DisassociateKmsKeyRequest$logGroupName": "

The name of the log group.

", "ExportTask$logGroupName": "

The name of the log group from which logs data was exported.

", - "FilterLogEventsRequest$logGroupName": "

The name of the log group to search.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "GetLogEventsRequest$logGroupName": "

The name of the log group.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", - "GetLogGroupFieldsRequest$logGroupName": "

The name of the log group to search.

If you specify values for both logGroupName and logGroupIdentifier, the action returns an InvalidParameterException error.

", + "FilterLogEventsRequest$logGroupName": "

The name of the log group to search.

You must include either logGroupIdentifier or logGroupName, but not both.

", + "GetLogEventsRequest$logGroupName": "

The name of the log group.

You must include either logGroupIdentifier or logGroupName, but not both.

", + "GetLogGroupFieldsRequest$logGroupName": "

The name of the log group to search.

You must include either logGroupIdentifier or logGroupName, but not both.

", "ListTagsLogGroupRequest$logGroupName": "

The name of the log group.

", "LogGroup$logGroupName": "

The name of the log group.

", "LogGroupNames$member": null, diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index 9a0ceb93f63..615a9fe2a01 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -9459,6 +9459,10 @@ "shape": "__string", "locationName": "scte35Pid" }, + "Scte35PrerollPullupMilliseconds": { + "shape": "__doubleMin0Max5000", + "locationName": "scte35PrerollPullupMilliseconds" + }, "SegmentationMarkers": { "shape": "M2tsSegmentationMarkers", "locationName": "segmentationMarkers" @@ -13418,6 +13422,9 @@ "__doubleMin0Max100": { "type": "double" }, + "__doubleMin0Max5000": { + "type": "double" + }, "__doubleMin1": { "type": "double" }, diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index 68a295548d1..c46883d5456 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -3581,6 +3581,12 @@ "CaptionRectangle$Width": "See the description in leftOffset.\nFor width, specify the entire width of the rectangle as a percentage of the underlying frame width. For example, \\\"80\\\" means the rectangle width is 80% of the underlying frame width. The leftOffset and rectangleWidth must add up to 100% or less.\nThis field corresponds to tts:extent - X in the TTML standard." } }, + "__doubleMin0Max5000": { + "base": null, + "refs": { + "M2tsSettings$Scte35PrerollPullupMilliseconds": "Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount." + } + }, "__doubleMin1": { "base": null, "refs": { diff --git a/models/apis/medialive/2017-10-14/endpoint-tests-1.json b/models/apis/medialive/2017-10-14/endpoint-tests-1.json index 613dbb7d389..c0a96034e16 100644 --- a/models/apis/medialive/2017-10-14/endpoint-tests-1.json +++ b/models/apis/medialive/2017-10-14/endpoint-tests-1.json @@ -6,9 +6,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-iso-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -19,9 +19,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-iso-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -30,9 +30,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-iso-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -43,9 +43,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-iso-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -54,9 +54,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, + "UseDualStack": true, "Region": "us-isob-east-1", - "UseDualStack": true + "UseFIPS": true } }, { @@ -67,9 +67,9 @@ } }, "params": { - "UseFIPS": true, + "UseDualStack": false, "Region": "us-isob-east-1", - "UseDualStack": false + "UseFIPS": true } }, { @@ -78,9 +78,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, + "UseDualStack": true, "Region": "us-isob-east-1", - "UseDualStack": true + "UseFIPS": false } }, { @@ -91,9 +91,9 @@ } }, "params": { - "UseFIPS": false, + "UseDualStack": false, "Region": "us-isob-east-1", - "UseDualStack": false + "UseFIPS": false } }, { @@ -104,9 +104,9 @@ } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -116,9 +116,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -128,9 +128,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index 105183a3c4a..018ef10742f 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -302,6 +302,22 @@ {"shape":"ValidationException"} ] }, + "DescribeDryRunProgress":{ + "name":"DescribeDryRunProgress", + "http":{ + "method":"GET", + "requestUri":"/2021-01-01/opensearch/domain/{DomainName}/dryRun" + }, + "input":{"shape":"DescribeDryRunProgressRequest"}, + "output":{"shape":"DescribeDryRunProgressResponse"}, + "errors":[ + {"shape":"BaseException"}, + {"shape":"InternalException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"DisabledOperationException"} + ] + }, "DescribeInboundConnections":{ "name":"DescribeInboundConnections", "http":{ @@ -1500,6 +1516,35 @@ "DomainStatusList":{"shape":"DomainStatusList"} } }, + "DescribeDryRunProgressRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{ + "shape":"DomainName", + "location":"uri", + "locationName":"DomainName" + }, + "DryRunId":{ + "shape":"GUID", + "location":"querystring", + "locationName":"dryRunId" + }, + "LoadDryRunConfig":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"loadDryRunConfig" + } + } + }, + "DescribeDryRunProgressResponse":{ + "type":"structure", + "members":{ + "DryRunProgressStatus":{"shape":"DryRunProgressStatus"}, + "DryRunConfig":{"shape":"DomainStatus"}, + "DryRunResults":{"shape":"DryRunResults"} + } + }, "DescribeInboundConnectionsRequest":{ "type":"structure", "members":{ @@ -1863,6 +1908,29 @@ }, "Double":{"type":"double"}, "DryRun":{"type":"boolean"}, + "DryRunMode":{ + "type":"string", + "enum":[ + "Basic", + "Verbose" + ] + }, + "DryRunProgressStatus":{ + "type":"structure", + "required":[ + "DryRunId", + "DryRunStatus", + "CreationDate", + "UpdateDate" + ], + "members":{ + "DryRunId":{"shape":"GUID"}, + "DryRunStatus":{"shape":"String"}, + "CreationDate":{"shape":"String"}, + "UpdateDate":{"shape":"String"}, + "ValidationFailures":{"shape":"ValidationFailures"} + } + }, "DryRunResults":{ "type":"structure", "members":{ @@ -3137,7 +3205,8 @@ "NodeToNodeEncryptionOptions":{"shape":"NodeToNodeEncryptionOptions"}, "AdvancedSecurityOptions":{"shape":"AdvancedSecurityOptionsInput"}, "AutoTuneOptions":{"shape":"AutoTuneOptions"}, - "DryRun":{"shape":"DryRun"} + "DryRun":{"shape":"DryRun"}, + "DryRunMode":{"shape":"DryRunMode"} } }, "UpdateDomainConfigResponse":{ @@ -3145,7 +3214,8 @@ "required":["DomainConfig"], "members":{ "DomainConfig":{"shape":"DomainConfig"}, - "DryRunResults":{"shape":"DryRunResults"} + "DryRunResults":{"shape":"DryRunResults"}, + "DryRunProgressStatus":{"shape":"DryRunProgressStatus"} } }, "UpdatePackageRequest":{ @@ -3301,6 +3371,17 @@ "error":{"httpStatusCode":400}, "exception":true }, + "ValidationFailure":{ + "type":"structure", + "members":{ + "Code":{"shape":"String"}, + "Message":{"shape":"String"} + } + }, + "ValidationFailures":{ + "type":"list", + "member":{"shape":"ValidationFailure"} + }, "ValueStringList":{ "type":"list", "member":{"shape":"NonEmptyString"}, diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index a697db6feaf..19e2b560348 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -3,7 +3,7 @@ "service": "

Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains.

For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide . The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.

", "operations": { "AcceptInboundConnection": "

Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", - "AddTags": "

Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. An domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.

", + "AddTags": "

Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.

", "AssociatePackage": "

Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.

", "AuthorizeVpcEndpointAccess": "

Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.

", "CancelServiceSoftwareUpdate": "

Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate and when the domain's UpdateStatus is PENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.

", @@ -21,6 +21,7 @@ "DescribeDomainChangeProgress": "

Returns information about the current blue/green deployment happening on an Amazon OpenSearch Service domain. For more information, see Making configuration changes in Amazon OpenSearch Service.

", "DescribeDomainConfig": "

Returns the configuration of an Amazon OpenSearch Service domain.

", "DescribeDomains": "

Returns domain configuration information about the specified Amazon OpenSearch Service domains.

", + "DescribeDryRunProgress": "

Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service domain. For more information, see Determining whether a change will cause a blue/green deployment.

", "DescribeInboundConnections": "

Lists all the inbound cross-cluster search connections for a destination (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", "DescribeInstanceTypeLimits": "

Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.

", "DescribeOutboundConnections": "

Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch Service domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.

", @@ -300,6 +301,7 @@ "ClusterConfig$WarmEnabled": "

Whether to enable warm storage for the cluster.

", "CognitoOptions$Enabled": "

Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.

", "ColdStorageOptions$Enabled": "

Whether to enable or disable cold storage on the domain.

", + "DescribeDryRunProgressRequest$LoadDryRunConfig": "

Whether to include the configuration of the dry run in the response. The configuration specifies the updates that you're planning to make on the domain.

", "DomainEndpointOptions$EnforceHTTPS": "

True to require that all traffic to the domain arrive over HTTPS.

", "DomainEndpointOptions$CustomEndpointEnabled": "

Whether to enable a custom endpoint for the domain.

", "DomainStatus$Created": "

Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.

", @@ -637,6 +639,16 @@ "refs": { } }, + "DescribeDryRunProgressRequest": { + "base": null, + "refs": { + } + }, + "DescribeDryRunProgressResponse": { + "base": null, + "refs": { + } + }, "DescribeInboundConnectionsRequest": { "base": "

Container for the parameters to the DescribeInboundConnections operation.

", "refs": { @@ -767,7 +779,7 @@ "DomainArn": { "base": null, "refs": { - "CreateVpcEndpointRequest$DomainArn": "

The Amazon Resource Name (ARN) of the domain to grant access to.

", + "CreateVpcEndpointRequest$DomainArn": "

The Amazon Resource Name (ARN) of the domain to create the endpoint for.

", "VpcEndpoint$DomainArn": "

The Amazon Resource Name (ARN) of the domain associated with the endpoint.

", "VpcEndpointSummary$DomainArn": "

The Amazon Resource Name (ARN) of the domain associated with the endpoint.

" } @@ -838,6 +850,7 @@ "DescribeDomainChangeProgressRequest$DomainName": "

The name of the domain to get progress information for.

", "DescribeDomainConfigRequest$DomainName": "

Name of the OpenSearch Service domain configuration that you want to describe.

", "DescribeDomainRequest$DomainName": "

The name of the domain that you want information about.

", + "DescribeDryRunProgressRequest$DomainName": "

The name of the domain.

", "DescribeInstanceTypeLimitsRequest$DomainName": "

The name of the domain. Only specify if you need the limits for an existing domain.

", "DissociatePackageRequest$DomainName": "

Name of the domain to dissociate the package from.

", "DomainInfo$DomainName": "

Name of the domain.

", @@ -897,6 +910,7 @@ "CreateDomainResponse$DomainStatus": "

The status of the newly created domain.

", "DeleteDomainResponse$DomainStatus": "

The status of the domain being deleted.

", "DescribeDomainResponse$DomainStatus": "

List that contains the status of each specified OpenSearch Service domain.

", + "DescribeDryRunProgressResponse$DryRunConfig": "

Details about the changes you're planning to make on the domain.

", "DomainStatusList$member": null } }, @@ -920,13 +934,27 @@ "DryRun": { "base": null, "refs": { - "UpdateDomainConfigRequest$DryRun": "

This flag, when set to True, specifies whether the UpdateDomain request should return the results of validation check without actually applying the change.

" + "UpdateDomainConfigRequest$DryRun": "

This flag, when set to True, specifies whether the UpdateDomain request should return the results of a dry run analysis without actually applying the change. A dry run determines what type of deployment the update will cause.

" + } + }, + "DryRunMode": { + "base": null, + "refs": { + "UpdateDomainConfigRequest$DryRunMode": "

The type of dry run to perform.

" + } + }, + "DryRunProgressStatus": { + "base": "

Information about the progress of a pre-upgrade dry run analysis.

", + "refs": { + "DescribeDryRunProgressResponse$DryRunProgressStatus": "

The current status of the dry run, including any validation errors.

", + "UpdateDomainConfigResponse$DryRunProgressStatus": "

The status of the dry run being performed on the domain, if any.

" } }, "DryRunResults": { "base": "

Results of a dry run performed in an update domain request.

", "refs": { - "UpdateDomainConfigResponse$DryRunResults": "

Results of a dry run performed in an update domain request.

" + "DescribeDryRunProgressResponse$DryRunResults": "

The results of the dry run.

", + "UpdateDomainConfigResponse$DryRunResults": "

Results of the dry run performed in the update domain request.

" } }, "Duration": { @@ -1029,8 +1057,10 @@ "ChangeProgressDetails$ChangeId": "

The ID of the configuration change.

", "ChangeProgressStatusDetails$ChangeId": "

The unique change identifier associated with a specific domain configuration change.

", "DescribeDomainChangeProgressRequest$ChangeId": "

The specific change ID for which you want to get progress information. If omitted, the request returns information about the most recent configuration change.

", + "DescribeDryRunProgressRequest$DryRunId": "

The unique identifier of the dry run.

", "DescribeReservedInstanceOfferingsRequest$ReservedInstanceOfferingId": "

The Reserved Instance identifier filter value. Use this parameter to show only the available instance types that match the specified reservation identifier.

", "DescribeReservedInstancesRequest$ReservedInstanceId": "

The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.

", + "DryRunProgressStatus$DryRunId": "

The unique identifier of the dry run.

", "PurchaseReservedInstanceOfferingRequest$ReservedInstanceOfferingId": "

The ID of the Reserved Instance offering to purchase.

", "PurchaseReservedInstanceOfferingResponse$ReservedInstanceId": "

The ID of the Reserved Instance offering that was purchased.

", "ReservedInstance$ReservedInstanceId": "

The unique identifier for the reservation.

", @@ -1943,6 +1973,9 @@ "AutoTuneStatus$ErrorMessage": "

Any errors that occurred while enabling or disabling Auto-Tune.

", "DescribePackagesResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", "DescribeReservedInstancesResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", + "DryRunProgressStatus$DryRunStatus": "

The current status of the dry run.

", + "DryRunProgressStatus$CreationDate": "

The timestamp when the dry run was initiated.

", + "DryRunProgressStatus$UpdateDate": "

The timestamp when the dry run was last updated.

", "EndpointsMap$key": null, "GetPackageVersionHistoryResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", "GetUpgradeHistoryResponse$NextToken": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

", @@ -1963,6 +1996,8 @@ "StringList$member": null, "UpgradeDomainResponse$UpgradeId": "

The unique identifier of the domain upgrade.

", "VPCDerivedInfo$VPCId": "

The ID for your VPC. Amazon VPC generates this value when you create a VPC.

", + "ValidationFailure$Code": "

The error code of the failure.

", + "ValidationFailure$Message": "

A message corresponding to the failure.

", "VpcEndpointError$ErrorMessage": "

A message describing the error.

", "VpcEndpointSummary$VpcEndpointOwner": "

The creator of the endpoint.

" } @@ -2169,6 +2204,18 @@ "refs": { } }, + "ValidationFailure": { + "base": "

A validation failure that occurred as the result of a pre-update validation check (verbose dry run) on a domain.

", + "refs": { + "ValidationFailures$member": null + } + }, + "ValidationFailures": { + "base": null, + "refs": { + "DryRunProgressStatus$ValidationFailures": "

Any validation failures that occurred as a result of the dry run.

" + } + }, "ValueStringList": { "base": null, "refs": { diff --git a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json b/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json index 78b6817727f..543279fcfac 100644 --- a/models/apis/opensearch/2021-01-01/endpoint-rule-set-1.json +++ b/models/apis/opensearch/2021-01-01/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" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/opensearch/2021-01-01/endpoint-tests-1.json b/models/apis/opensearch/2021-01-01/endpoint-tests-1.json index 000cf7fba1f..59b38b94ac8 100644 --- a/models/apis/opensearch/2021-01-01/endpoint-tests-1.json +++ b/models/apis/opensearch/2021-01-01/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-2", - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": true + "Region": "ap-south-2" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-2", - "UseDualStack": false + "Region": "ap-south-2" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": true + "Region": "eu-south-2" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-2", - "UseDualStack": false + "Region": "eu-south-2" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -422,9 +422,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": true + "Region": "us-iso-west-1" } }, { @@ -435,9 +435,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-west-1", - "UseDualStack": false + "Region": "us-iso-west-1" } }, { @@ -446,9 +446,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": true + "Region": "us-iso-west-1" } }, { @@ -459,9 +459,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-west-1", - "UseDualStack": false + "Region": "us-iso-west-1" } }, { @@ -472,9 +472,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -485,9 +485,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-2", - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -498,9 +498,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": true + "Region": "eu-central-2" } }, { @@ -511,9 +511,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-2", - "UseDualStack": false + "Region": "eu-central-2" } }, { @@ -524,9 +524,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -537,9 +537,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -550,9 +550,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -563,9 +563,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -576,9 +576,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -589,9 +589,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -602,9 +602,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -615,9 +615,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -628,9 +628,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -641,9 +641,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -654,9 +654,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -667,9 +667,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -680,9 +680,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -693,9 +693,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -706,9 +706,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -719,9 +719,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -732,9 +732,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -745,9 +745,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -758,9 +758,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -771,9 +771,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -784,9 +784,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -797,9 +797,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -810,9 +810,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -823,9 +823,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -836,9 +836,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -849,9 +849,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -862,9 +862,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -875,9 +875,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -888,9 +888,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -901,9 +901,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -914,9 +914,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -927,9 +927,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -940,9 +940,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -953,9 +953,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -966,9 +966,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -979,9 +979,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -992,9 +992,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -1005,9 +1005,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -1018,9 +1018,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -1031,9 +1031,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -1044,9 +1044,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1057,9 +1057,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1070,9 +1070,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -1083,9 +1083,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -1096,9 +1096,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1109,9 +1109,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1122,9 +1122,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -1135,9 +1135,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -1148,9 +1148,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1161,9 +1161,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1174,9 +1174,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -1187,9 +1187,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -1200,9 +1200,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1213,9 +1213,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1226,9 +1226,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1239,9 +1239,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1252,9 +1252,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1265,9 +1265,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1278,9 +1278,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1291,9 +1291,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1304,9 +1304,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1317,9 +1317,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1330,9 +1330,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1343,9 +1343,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1356,9 +1356,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1369,9 +1369,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1382,9 +1382,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1395,9 +1395,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1406,9 +1406,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1419,9 +1419,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1430,9 +1430,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1443,9 +1443,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1456,9 +1456,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1469,9 +1469,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1482,9 +1482,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1495,9 +1495,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1508,9 +1508,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "ap-southeast-4" } }, { @@ -1521,9 +1521,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "ap-southeast-4" } }, { @@ -1534,9 +1534,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": true + "Region": "ap-southeast-4" } }, { @@ -1547,9 +1547,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-4", - "UseDualStack": false + "Region": "ap-southeast-4" } }, { @@ -1560,9 +1560,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1573,9 +1573,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1586,9 +1586,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1599,9 +1599,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1612,9 +1612,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1625,9 +1625,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1638,9 +1638,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1651,9 +1651,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1664,9 +1664,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1677,9 +1677,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1690,9 +1690,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1703,9 +1703,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1714,9 +1714,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1727,9 +1727,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1738,9 +1738,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1751,9 +1751,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1764,9 +1764,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1776,9 +1776,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1788,9 +1788,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/panorama/2019-07-24/api-2.json b/models/apis/panorama/2019-07-24/api-2.json index 18e92dc80aa..366fc35e3a5 100644 --- a/models/apis/panorama/2019-07-24/api-2.json +++ b/models/apis/panorama/2019-07-24/api-2.json @@ -2124,6 +2124,7 @@ "type":"structure", "required":["ImageVersion"], "members":{ + "AllowMajorVersionUpdate":{"shape":"Boolean"}, "ImageVersion":{"shape":"ImageVersion"} } }, diff --git a/models/apis/panorama/2019-07-24/docs-2.json b/models/apis/panorama/2019-07-24/docs-2.json index 278deaad607..322c0f90ef1 100644 --- a/models/apis/panorama/2019-07-24/docs-2.json +++ b/models/apis/panorama/2019-07-24/docs-2.json @@ -3,7 +3,7 @@ "service": "

AWS Panorama

Overview

This is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the AWS Panorama Developer Guide.

", "operations": { "CreateApplicationInstance": "

Creates an application instance and deploys it to a device.

", - "CreateJobForDevices": "

Creates a job to run on one or more devices. A job can update a device's software or reboot it.

", + "CreateJobForDevices": "

Creates a job to run on a device. A job can update a device's software or reboot it.

", "CreateNodeFromTemplateJob": "

Creates a camera stream node.

", "CreatePackage": "

Creates a package and storage location in an Amazon S3 access point.

", "CreatePackageImportJob": "

Imports a node package.

", @@ -127,7 +127,8 @@ "base": null, "refs": { "DeletePackageRequest$ForceDelete": "

Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.

", - "DescribePackageVersionResponse$IsLatestPatch": "

Whether the version is the latest available.

" + "DescribePackageVersionResponse$IsLatestPatch": "

Whether the version is the latest available.

", + "OTAJobConfig$AllowMajorVersionUpdate": "

Whether to apply the update if it is a major version change.

" } }, "Bucket": { @@ -465,7 +466,7 @@ "DeviceIdList": { "base": null, "refs": { - "CreateJobForDevicesRequest$DeviceIds": "

IDs of target devices.

" + "CreateJobForDevicesRequest$DeviceIds": "

ID of target device.

" } }, "DeviceJob": { diff --git a/models/apis/panorama/2019-07-24/endpoint-rule-set-1.json b/models/apis/panorama/2019-07-24/endpoint-rule-set-1.json new file mode 100644 index 00000000000..6ec20d8240a --- /dev/null +++ b/models/apis/panorama/2019-07-24/endpoint-rule-set-1.json @@ -0,0 +1,300 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://panorama-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": [], + "endpoint": { + "url": "https://panorama-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://panorama.{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://panorama.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/panorama/2019-07-24/endpoint-tests-1.json b/models/apis/panorama/2019-07-24/endpoint-tests-1.json new file mode 100644 index 00000000000..91c92af29cd --- /dev/null +++ b/models/apis/panorama/2019-07-24/endpoint-tests-1.json @@ -0,0 +1,43 @@ +{ + "testCases": [ + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": 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": { + "UseDualStack": false, + "Region": "us-east-1", + "UseFIPS": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseDualStack": true, + "Region": "us-east-1", + "UseFIPS": false, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index fb7d51a79e2..01d1b0e5f40 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -11013,7 +11013,8 @@ "EnableManagedSpotTraining":{"shape":"Boolean"}, "CheckpointConfig":{"shape":"CheckpointConfig"}, "RetryStrategy":{"shape":"RetryStrategy"}, - "HyperParameterTuningResourceConfig":{"shape":"HyperParameterTuningResourceConfig"} + "HyperParameterTuningResourceConfig":{"shape":"HyperParameterTuningResourceConfig"}, + "Environment":{"shape":"HyperParameterTrainingJobEnvironmentMap"} } }, "HyperParameterTrainingJobDefinitionName":{ @@ -11028,6 +11029,22 @@ "max":10, "min":1 }, + "HyperParameterTrainingJobEnvironmentKey":{ + "type":"string", + "max":512, + "pattern":"[a-zA-Z_][a-zA-Z0-9_]*" + }, + "HyperParameterTrainingJobEnvironmentMap":{ + "type":"map", + "key":{"shape":"HyperParameterTrainingJobEnvironmentKey"}, + "value":{"shape":"HyperParameterTrainingJobEnvironmentValue"}, + "max":48 + }, + "HyperParameterTrainingJobEnvironmentValue":{ + "type":"string", + "max":512, + "pattern":"[\\S\\s]*" + }, "HyperParameterTrainingJobSummaries":{ "type":"list", "member":{"shape":"HyperParameterTrainingJobSummary"} diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index c875c9e3a37..037572f98d0 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -5833,6 +5833,24 @@ "HyperParameterTuningJobSearchEntity$TrainingJobDefinitions": "

The job definitions included in a hyperparameter tuning job.

" } }, + "HyperParameterTrainingJobEnvironmentKey": { + "base": null, + "refs": { + "HyperParameterTrainingJobEnvironmentMap$key": null + } + }, + "HyperParameterTrainingJobEnvironmentMap": { + "base": null, + "refs": { + "HyperParameterTrainingJobDefinition$Environment": "

An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information.

The maximum number of items specified for Map Entries refers to the maximum number of environment variables for each TrainingJobDefinition and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of environment variables for all the training job definitions can't exceed the maximum number specified.

" + } + }, + "HyperParameterTrainingJobEnvironmentValue": { + "base": null, + "refs": { + "HyperParameterTrainingJobEnvironmentMap$value": null + } + }, "HyperParameterTrainingJobSummaries": { "base": null, "refs": { @@ -13271,7 +13289,7 @@ "TrainingInstanceCount": { "base": null, "refs": { - "HyperParameterTuningInstanceConfig$InstanceCount": "

The number of instances of the type specified by InstanceType. Choose an instance count larger than 1 for distributed training algorithms. See SageMaker distributed training jobs for more informcration.

", + "HyperParameterTuningInstanceConfig$InstanceCount": "

The number of instances of the type specified by InstanceType. Choose an instance count larger than 1 for distributed training algorithms. See SageMaker distributed training jobs for more information.

", "HyperParameterTuningResourceConfig$InstanceCount": "

The number of compute instances of type InstanceType to use. For distributed training, select a value greater than 1.

", "InstanceGroup$InstanceCount": "

Specifies the number of instances of the instance group.

", "ResourceConfig$InstanceCount": "

The number of ML compute instances to use. For distributed training, provide a value greater than 1.

" @@ -14258,7 +14276,7 @@ "VariantPropertyList": { "base": null, "refs": { - "UpdateEndpointInput$ExcludeRetainedVariantProperties": "

When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeAllVariantProperties, no variant properties are overridden.

" + "UpdateEndpointInput$ExcludeRetainedVariantProperties": "

When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.

" } }, "VariantPropertyType": { diff --git a/models/apis/sagemaker/2017-07-24/endpoint-tests-1.json b/models/apis/sagemaker/2017-07-24/endpoint-tests-1.json index 4503c943f84..c44c5b3efb2 100644 --- a/models/apis/sagemaker/2017-07-24/endpoint-tests-1.json +++ b/models/apis/sagemaker/2017-07-24/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -21,9 +21,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -34,9 +34,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-south-1" } }, { @@ -47,9 +47,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-south-1" } }, { @@ -60,9 +60,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -73,9 +73,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -86,9 +86,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": true + "Region": "eu-south-1" } }, { @@ -99,9 +99,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-south-1", - "UseDualStack": false + "Region": "eu-south-1" } }, { @@ -112,9 +112,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -125,9 +125,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -138,9 +138,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": true + "Region": "us-gov-east-1" } }, { @@ -151,9 +151,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-east-1", - "UseDualStack": false + "Region": "us-gov-east-1" } }, { @@ -164,9 +164,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -177,9 +177,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -190,9 +190,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": true + "Region": "me-central-1" } }, { @@ -203,9 +203,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-central-1", - "UseDualStack": false + "Region": "me-central-1" } }, { @@ -216,9 +216,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -229,9 +229,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -242,9 +242,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ca-central-1" } }, { @@ -255,9 +255,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ca-central-1" } }, { @@ -268,9 +268,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -281,9 +281,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -294,9 +294,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "Region": "eu-central-1" } }, { @@ -307,9 +307,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "Region": "eu-central-1" } }, { @@ -320,9 +320,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -333,9 +333,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -346,9 +346,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true + "Region": "us-west-1" } }, { @@ -359,9 +359,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false + "Region": "us-west-1" } }, { @@ -372,9 +372,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -385,9 +385,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -398,9 +398,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "Region": "us-west-2" } }, { @@ -411,9 +411,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "Region": "us-west-2" } }, { @@ -424,9 +424,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -437,9 +437,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -450,9 +450,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "Region": "af-south-1" } }, { @@ -463,9 +463,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "Region": "af-south-1" } }, { @@ -476,9 +476,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -489,9 +489,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -502,9 +502,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "Region": "eu-north-1" } }, { @@ -515,9 +515,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false + "Region": "eu-north-1" } }, { @@ -528,9 +528,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -541,9 +541,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -554,9 +554,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true + "Region": "eu-west-3" } }, { @@ -567,9 +567,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false + "Region": "eu-west-3" } }, { @@ -580,9 +580,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -593,9 +593,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -606,9 +606,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "Region": "eu-west-2" } }, { @@ -619,9 +619,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "Region": "eu-west-2" } }, { @@ -632,9 +632,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -645,9 +645,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -658,9 +658,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "Region": "eu-west-1" } }, { @@ -671,9 +671,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "Region": "eu-west-1" } }, { @@ -684,9 +684,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -697,9 +697,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -710,9 +710,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": true + "Region": "ap-northeast-3" } }, { @@ -723,9 +723,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-3", - "UseDualStack": false + "Region": "ap-northeast-3" } }, { @@ -736,9 +736,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -749,9 +749,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -762,9 +762,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-2" } }, { @@ -775,9 +775,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "Region": "ap-northeast-2" } }, { @@ -788,9 +788,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -801,9 +801,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -814,9 +814,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-northeast-1" } }, { @@ -827,9 +827,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-northeast-1" } }, { @@ -840,9 +840,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -853,9 +853,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -866,9 +866,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": true + "Region": "me-south-1" } }, { @@ -879,9 +879,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "me-south-1", - "UseDualStack": false + "Region": "me-south-1" } }, { @@ -892,9 +892,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -905,9 +905,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -918,9 +918,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "sa-east-1" } }, { @@ -931,9 +931,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "sa-east-1" } }, { @@ -944,9 +944,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -957,9 +957,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -970,9 +970,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "ap-east-1" } }, { @@ -983,9 +983,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "ap-east-1" } }, { @@ -996,9 +996,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1009,9 +1009,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1022,9 +1022,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "cn-north-1" } }, { @@ -1035,9 +1035,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "cn-north-1" } }, { @@ -1048,9 +1048,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1061,9 +1061,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1074,9 +1074,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": true + "Region": "us-gov-west-1" } }, { @@ -1087,9 +1087,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-gov-west-1", - "UseDualStack": false + "Region": "us-gov-west-1" } }, { @@ -1100,9 +1100,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1113,9 +1113,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1126,9 +1126,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "ap-southeast-1" } }, { @@ -1139,9 +1139,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "ap-southeast-1" } }, { @@ -1152,9 +1152,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1165,9 +1165,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1178,9 +1178,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "ap-southeast-2" } }, { @@ -1191,9 +1191,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "ap-southeast-2" } }, { @@ -1202,9 +1202,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1215,9 +1215,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1226,9 +1226,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": true + "Region": "us-iso-east-1" } }, { @@ -1239,9 +1239,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-iso-east-1", - "UseDualStack": false + "Region": "us-iso-east-1" } }, { @@ -1252,9 +1252,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1265,9 +1265,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1278,9 +1278,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": true + "Region": "ap-southeast-3" } }, { @@ -1291,9 +1291,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-3", - "UseDualStack": false + "Region": "ap-southeast-3" } }, { @@ -1304,9 +1304,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1317,9 +1317,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1330,9 +1330,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-east-1" } }, { @@ -1343,9 +1343,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-east-1" } }, { @@ -1356,9 +1356,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1369,9 +1369,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1382,9 +1382,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-east-2" } }, { @@ -1395,9 +1395,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-east-2" } }, { @@ -1408,9 +1408,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1421,9 +1421,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1434,9 +1434,9 @@ } }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "cn-northwest-1" } }, { @@ -1447,9 +1447,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "cn-northwest-1" } }, { @@ -1458,9 +1458,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "UseDualStack": true, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1471,9 +1471,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": true, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1482,9 +1482,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "UseDualStack": true, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": true + "Region": "us-isob-east-1" } }, { @@ -1495,9 +1495,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, - "Region": "us-isob-east-1", - "UseDualStack": false + "Region": "us-isob-east-1" } }, { @@ -1508,9 +1508,9 @@ } }, "params": { + "UseDualStack": false, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1520,9 +1520,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "UseDualStack": false, "UseFIPS": true, "Region": "us-east-1", - "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -1532,9 +1532,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "UseDualStack": true, "UseFIPS": false, "Region": "us-east-1", - "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index c24196dfe06..0a11330370b 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1015,12 +1015,15 @@ }, "api.mediatailor" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, + "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "eu-central-1" : { }, "eu-west-1" : { }, "us-east-1" : { }, + "us-east-2" : { }, "us-west-2" : { } } }, @@ -4736,6 +4739,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, @@ -4746,8 +4750,10 @@ } ] }, "eu-central-1" : { }, + "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -9334,6 +9340,7 @@ "m2" : { "endpoints" : { "ap-northeast-1" : { }, + "ap-northeast-2" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, @@ -9352,6 +9359,12 @@ "fips-us-east-1" : { "deprecated" : true }, + "fips-us-east-2" : { + "deprecated" : true + }, + "fips-us-west-1" : { + "deprecated" : true + }, "fips-us-west-2" : { "deprecated" : true }, @@ -9361,6 +9374,16 @@ "tags" : [ "fips" ] } ] }, + "us-east-2" : { + "variants" : [ { + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "tags" : [ "fips" ] + } ] + }, "us-west-2" : { "variants" : [ { "tags" : [ "fips" ] diff --git a/service/appflow/api.go b/service/appflow/api.go index 18b896e9475..7d5847f7d84 100644 --- a/service/appflow/api.go +++ b/service/appflow/api.go @@ -3731,6 +3731,9 @@ type ConnectorMetadata struct { // The connector metadata specific to Marketo. Marketo *MarketoMetadata `type:"structure"` + // The connector metadata specific to Salesforce Pardot. + Pardot *PardotMetadata `type:"structure"` + // The connector metadata specific to Amazon Redshift. Redshift *RedshiftMetadata `type:"structure"` @@ -3840,6 +3843,12 @@ func (s *ConnectorMetadata) SetMarketo(v *MarketoMetadata) *ConnectorMetadata { return s } +// SetPardot sets the Pardot field's value. +func (s *ConnectorMetadata) SetPardot(v *PardotMetadata) *ConnectorMetadata { + s.Pardot = v + return s +} + // SetRedshift sets the Redshift field's value. func (s *ConnectorMetadata) SetRedshift(v *RedshiftMetadata) *ConnectorMetadata { s.Redshift = v @@ -3981,6 +3990,9 @@ type ConnectorOperator struct { // The operation to be performed on the provided Marketo source fields. Marketo *string `type:"string" enum:"MarketoConnectorOperator"` + // The operation to be performed on the provided Salesforce Pardot source fields. + Pardot *string `type:"string" enum:"PardotConnectorOperator"` + // The operation to be performed on the provided Amazon S3 source fields. S3 *string `type:"string" enum:"S3ConnectorOperator"` @@ -4069,6 +4081,12 @@ func (s *ConnectorOperator) SetMarketo(v string) *ConnectorOperator { return s } +// SetPardot sets the Pardot field's value. +func (s *ConnectorOperator) SetPardot(v string) *ConnectorOperator { + s.Pardot = &v + return s +} + // SetS3 sets the S3 field's value. func (s *ConnectorOperator) SetS3(v string) *ConnectorOperator { s.S3 = &v @@ -4337,6 +4355,9 @@ type ConnectorProfileCredentials struct { // The connector-specific credentials required when using Marketo. Marketo *MarketoConnectorProfileCredentials `type:"structure"` + // The connector-specific credentials required when using Salesforce Pardot. + Pardot *PardotConnectorProfileCredentials `type:"structure"` + // The connector-specific credentials required when using Amazon Redshift. Redshift *RedshiftConnectorProfileCredentials `type:"structure"` @@ -4424,6 +4445,11 @@ func (s *ConnectorProfileCredentials) Validate() error { invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams)) } } + if s.Pardot != nil { + if err := s.Pardot.Validate(); err != nil { + invalidParams.AddNested("Pardot", err.(request.ErrInvalidParams)) + } + } if s.SAPOData != nil { if err := s.SAPOData.Validate(); err != nil { invalidParams.AddNested("SAPOData", err.(request.ErrInvalidParams)) @@ -4524,6 +4550,12 @@ func (s *ConnectorProfileCredentials) SetMarketo(v *MarketoConnectorProfileCrede return s } +// SetPardot sets the Pardot field's value. +func (s *ConnectorProfileCredentials) SetPardot(v *PardotConnectorProfileCredentials) *ConnectorProfileCredentials { + s.Pardot = v + return s +} + // SetRedshift sets the Redshift field's value. func (s *ConnectorProfileCredentials) SetRedshift(v *RedshiftConnectorProfileCredentials) *ConnectorProfileCredentials { s.Redshift = v @@ -4612,6 +4644,9 @@ type ConnectorProfileProperties struct { // The connector-specific properties required by Marketo. Marketo *MarketoConnectorProfileProperties `type:"structure"` + // The connector-specific properties required by Salesforce Pardot. + Pardot *PardotConnectorProfileProperties `type:"structure"` + // The connector-specific properties required by Amazon Redshift. Redshift *RedshiftConnectorProfileProperties `type:"structure"` @@ -4779,6 +4814,12 @@ func (s *ConnectorProfileProperties) SetMarketo(v *MarketoConnectorProfileProper return s } +// SetPardot sets the Pardot field's value. +func (s *ConnectorProfileProperties) SetPardot(v *PardotConnectorProfileProperties) *ConnectorProfileProperties { + s.Pardot = v + return s +} + // SetRedshift sets the Redshift field's value. func (s *ConnectorProfileProperties) SetRedshift(v *RedshiftConnectorProfileProperties) *ConnectorProfileProperties { s.Redshift = v @@ -10392,6 +10433,212 @@ func (s *OAuthProperties) SetTokenUrl(v string) *OAuthProperties { return s } +// The connector-specific profile credentials required when using Salesforce +// Pardot. +type PardotConnectorProfileCredentials struct { + _ struct{} `type:"structure"` + + // The credentials used to access protected Salesforce Pardot resources. + // + // AccessToken is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PardotConnectorProfileCredentials's + // String and GoString methods. + AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` + + // The secret manager ARN, which contains the client ID and client secret of + // the connected app. + // + // ClientCredentialsArn is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PardotConnectorProfileCredentials's + // String and GoString methods. + ClientCredentialsArn *string `locationName:"clientCredentialsArn" min:"20" type:"string" sensitive:"true"` + + // Used by select connectors for which the OAuth workflow is supported, such + // as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. + OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` + + // The credentials used to acquire new access tokens. + RefreshToken *string `locationName:"refreshToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotConnectorProfileCredentials) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotConnectorProfileCredentials) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PardotConnectorProfileCredentials) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PardotConnectorProfileCredentials"} + if s.ClientCredentialsArn != nil && len(*s.ClientCredentialsArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ClientCredentialsArn", 20)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessToken sets the AccessToken field's value. +func (s *PardotConnectorProfileCredentials) SetAccessToken(v string) *PardotConnectorProfileCredentials { + s.AccessToken = &v + return s +} + +// SetClientCredentialsArn sets the ClientCredentialsArn field's value. +func (s *PardotConnectorProfileCredentials) SetClientCredentialsArn(v string) *PardotConnectorProfileCredentials { + s.ClientCredentialsArn = &v + return s +} + +// SetOAuthRequest sets the OAuthRequest field's value. +func (s *PardotConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *PardotConnectorProfileCredentials { + s.OAuthRequest = v + return s +} + +// SetRefreshToken sets the RefreshToken field's value. +func (s *PardotConnectorProfileCredentials) SetRefreshToken(v string) *PardotConnectorProfileCredentials { + s.RefreshToken = &v + return s +} + +// The connector-specific profile properties required when using Salesforce +// Pardot. +type PardotConnectorProfileProperties struct { + _ struct{} `type:"structure"` + + // The business unit id of Salesforce Pardot instance. + BusinessUnitId *string `locationName:"businessUnitId" type:"string"` + + // The location of the Salesforce Pardot resource. + InstanceUrl *string `locationName:"instanceUrl" type:"string"` + + // Indicates whether the connector profile applies to a sandbox or production + // environment. + IsSandboxEnvironment *bool `locationName:"isSandboxEnvironment" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotConnectorProfileProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotConnectorProfileProperties) GoString() string { + return s.String() +} + +// SetBusinessUnitId sets the BusinessUnitId field's value. +func (s *PardotConnectorProfileProperties) SetBusinessUnitId(v string) *PardotConnectorProfileProperties { + s.BusinessUnitId = &v + return s +} + +// SetInstanceUrl sets the InstanceUrl field's value. +func (s *PardotConnectorProfileProperties) SetInstanceUrl(v string) *PardotConnectorProfileProperties { + s.InstanceUrl = &v + return s +} + +// SetIsSandboxEnvironment sets the IsSandboxEnvironment field's value. +func (s *PardotConnectorProfileProperties) SetIsSandboxEnvironment(v bool) *PardotConnectorProfileProperties { + s.IsSandboxEnvironment = &v + return s +} + +// The connector metadata specific to Salesforce Pardot. +type PardotMetadata struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotMetadata) GoString() string { + return s.String() +} + +// The properties that are applied when Salesforce Pardot is being used as a +// source. +type PardotSourceProperties struct { + _ struct{} `type:"structure"` + + // The object specified in the Salesforce Pardot flow source. + // + // Object is a required field + Object *string `locationName:"object" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotSourceProperties) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PardotSourceProperties) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PardotSourceProperties) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PardotSourceProperties"} + if s.Object == nil { + invalidParams.Add(request.NewErrParamRequired("Object")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetObject sets the Object field's value. +func (s *PardotSourceProperties) SetObject(v string) *PardotSourceProperties { + s.Object = &v + return s +} + // Specifies elements that Amazon AppFlow includes in the file and folder names // in the flow destination. type PrefixConfig struct { @@ -13175,6 +13422,9 @@ type SourceConnectorProperties struct { // Specifies the information that is required for querying Marketo. Marketo *MarketoSourceProperties `type:"structure"` + // Specifies the information that is required for querying Salesforce Pardot. + Pardot *PardotSourceProperties `type:"structure"` + // Specifies the information that is required for querying Amazon S3. S3 *S3SourceProperties `type:"structure"` @@ -13259,6 +13509,11 @@ func (s *SourceConnectorProperties) Validate() error { invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams)) } } + if s.Pardot != nil { + if err := s.Pardot.Validate(); err != nil { + invalidParams.AddNested("Pardot", err.(request.ErrInvalidParams)) + } + } if s.S3 != nil { if err := s.S3.Validate(); err != nil { invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) @@ -13348,6 +13603,12 @@ func (s *SourceConnectorProperties) SetMarketo(v *MarketoSourceProperties) *Sour return s } +// SetPardot sets the Pardot field's value. +func (s *SourceConnectorProperties) SetPardot(v *PardotSourceProperties) *SourceConnectorProperties { + s.Pardot = v + return s +} + // SetS3 sets the S3 field's value. func (s *SourceConnectorProperties) SetS3(v *S3SourceProperties) *SourceConnectorProperties { s.S3 = v @@ -15877,6 +16138,9 @@ const ( // ConnectorTypeCustomConnector is a ConnectorType enum value ConnectorTypeCustomConnector = "CustomConnector" + + // ConnectorTypePardot is a ConnectorType enum value + ConnectorTypePardot = "Pardot" ) // ConnectorType_Values returns all elements of the ConnectorType enum @@ -15905,6 +16169,7 @@ func ConnectorType_Values() []string { ConnectorTypeCustomerProfiles, ConnectorTypeSapodata, ConnectorTypeCustomConnector, + ConnectorTypePardot, } } @@ -16580,6 +16845,70 @@ func Operators_Values() []string { } } +const ( + // PardotConnectorOperatorProjection is a PardotConnectorOperator enum value + PardotConnectorOperatorProjection = "PROJECTION" + + // PardotConnectorOperatorEqualTo is a PardotConnectorOperator enum value + PardotConnectorOperatorEqualTo = "EQUAL_TO" + + // PardotConnectorOperatorNoOp is a PardotConnectorOperator enum value + PardotConnectorOperatorNoOp = "NO_OP" + + // PardotConnectorOperatorAddition is a PardotConnectorOperator enum value + PardotConnectorOperatorAddition = "ADDITION" + + // PardotConnectorOperatorMultiplication is a PardotConnectorOperator enum value + PardotConnectorOperatorMultiplication = "MULTIPLICATION" + + // PardotConnectorOperatorDivision is a PardotConnectorOperator enum value + PardotConnectorOperatorDivision = "DIVISION" + + // PardotConnectorOperatorSubtraction is a PardotConnectorOperator enum value + PardotConnectorOperatorSubtraction = "SUBTRACTION" + + // PardotConnectorOperatorMaskAll is a PardotConnectorOperator enum value + PardotConnectorOperatorMaskAll = "MASK_ALL" + + // PardotConnectorOperatorMaskFirstN is a PardotConnectorOperator enum value + PardotConnectorOperatorMaskFirstN = "MASK_FIRST_N" + + // PardotConnectorOperatorMaskLastN is a PardotConnectorOperator enum value + PardotConnectorOperatorMaskLastN = "MASK_LAST_N" + + // PardotConnectorOperatorValidateNonNull is a PardotConnectorOperator enum value + PardotConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" + + // PardotConnectorOperatorValidateNonZero is a PardotConnectorOperator enum value + PardotConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" + + // PardotConnectorOperatorValidateNonNegative is a PardotConnectorOperator enum value + PardotConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" + + // PardotConnectorOperatorValidateNumeric is a PardotConnectorOperator enum value + PardotConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" +) + +// PardotConnectorOperator_Values returns all elements of the PardotConnectorOperator enum +func PardotConnectorOperator_Values() []string { + return []string{ + PardotConnectorOperatorProjection, + PardotConnectorOperatorEqualTo, + PardotConnectorOperatorNoOp, + PardotConnectorOperatorAddition, + PardotConnectorOperatorMultiplication, + PardotConnectorOperatorDivision, + PardotConnectorOperatorSubtraction, + PardotConnectorOperatorMaskAll, + PardotConnectorOperatorMaskFirstN, + PardotConnectorOperatorMaskLastN, + PardotConnectorOperatorValidateNonNull, + PardotConnectorOperatorValidateNonZero, + PardotConnectorOperatorValidateNonNegative, + PardotConnectorOperatorValidateNumeric, + } +} + const ( // PathPrefixExecutionId is a PathPrefix enum value PathPrefixExecutionId = "EXECUTION_ID" diff --git a/service/cloudwatchlogs/api.go b/service/cloudwatchlogs/api.go index 27d2cbf1cda..04d0f113086 100644 --- a/service/cloudwatchlogs/api.go +++ b/service/cloudwatchlogs/api.go @@ -6743,14 +6743,12 @@ type DescribeLogStreamsInput struct { // is in a source account and you are using a monitoring account, you must use // the log group ARN. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupIdentifier *string `locationName:"logGroupIdentifier" min:"1" type:"string"` // The name of the log group. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // The prefix to match. @@ -7882,14 +7880,12 @@ type FilterLogEventsInput struct { // If the log group is in a source account and you are using a monitoring account, // you must use the log group ARN. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupIdentifier *string `locationName:"logGroupIdentifier" min:"1" type:"string"` // The name of the log group to search. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // Filters the results to include only events from log streams that have names @@ -8275,14 +8271,12 @@ type GetLogEventsInput struct { // log group is in a source account and you are using a monitoring account, // you must use the log group ARN. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupIdentifier *string `locationName:"logGroupIdentifier" min:"1" type:"string"` // The name of the log group. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // The name of the log stream. @@ -8476,14 +8470,12 @@ type GetLogGroupFieldsInput struct { // is in a source account and you are using a monitoring account, you must specify // the ARN. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupIdentifier *string `locationName:"logGroupIdentifier" min:"1" type:"string"` // The name of the log group to search. // - // If you specify values for both logGroupName and logGroupIdentifier, the action - // returns an InvalidParameterException error. + // You must include either logGroupIdentifier or logGroupName, but not both. LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"` // The time to set as the center of the query. If you specify time, the 15 minutes diff --git a/service/codeartifact/api.go b/service/codeartifact/api.go index 8bb2fe75471..3bb699f6202 100644 --- a/service/codeartifact/api.go +++ b/service/codeartifact/api.go @@ -664,7 +664,7 @@ func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersions // be restored in your repository. If you want to remove a package version from // your repository and be able to restore it later, set its status to Archived. // Archived packages cannot be downloaded from a repository and don't show up -// with list package APIs (for example, ListackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html)), +// with list package APIs (for example, ListPackageVersions (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html)), // but you can restore them using UpdatePackageVersionsStatus (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1853,10 +1853,7 @@ func (c *CodeArtifact) GetPackageVersionReadmeRequest(input *GetPackageVersionRe // GetPackageVersionReadme API operation for CodeArtifact. // -// Gets the readme file or descriptive text for a package version. For packages -// that do not contain a readme file, CodeArtifact extracts a description from -// a metadata file. For example, from the element in the pom.xml -// file of a Maven package. +// Gets the readme file or descriptive text for a package version. // // The returned text might contain formatting. For example, it might contain // formatting for Markdown or reStructuredText. @@ -4033,6 +4030,8 @@ type AssociateExternalConnectionInput struct { // // * public:npmjs - for the npm public repository. // + // * public:nuget-org - for the NuGet Gallery. + // // * public:pypi - for the Python Package Index. // // * public:maven-central - for Maven Central. @@ -6991,6 +6990,9 @@ type GetPackageVersionReadmeInput struct { // A format that specifies the type of the package version with the requested // readme file. // + // Although maven is listed as a valid value, CodeArtifact does not support + // displaying readme files for Maven packages. + // // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"PackageFormat"` @@ -8476,9 +8478,12 @@ type ListPackagesInput struct { // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` - // The namespace used to filter requested packages. Only packages with the provided - // namespace will be returned. The package component that specifies its namespace - // depends on its type. For example: + // The namespace prefix used to filter requested packages. Only packages with + // a namespace that starts with the provided string value are returned. Note + // that although this option is called --namespace and not --namespace-prefix, + // it has prefix-matching behavior. + // + // Each package format uses namespace as follows: // // * The namespace of a Maven package is its groupId. // @@ -9017,8 +9022,18 @@ type PackageDependency struct { _ struct{} `type:"structure"` // The type of a package dependency. The possible values depend on the package - // type. Example types are compile, runtime, and test for Maven packages, and - // dev, prod, and optional for npm packages. + // type. + // + // * npm: regular, dev, peer, optional + // + // * maven: optional, parent, compile, runtime, test, system, provided. Note + // that parent is not a regular Maven dependency type; instead this is extracted + // from the element if one is defined in the package version's POM + // file. + // + // * nuget: The dependencyType field is never set for NuGet packages. + // + // * pypi: Requires-Dist DependencyType *string `locationName:"dependencyType" type:"string"` // The namespace of the package that this package depends on. The package component diff --git a/service/connect/api.go b/service/connect/api.go index e67a9724e91..145b9795687 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -20632,6 +20632,10 @@ type Contact struct { // If this contact was queued, this contains information about the queue. QueueInfo *QueueInfo `type:"structure"` + // The contactId that is related (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html#relatedcontactid) + // to this contact. + RelatedContactId *string `min:"1" type:"string"` + // The timestamp, in Unix epoch time format, at which to start running the inbound // flow. ScheduledTimestamp *time.Time `type:"timestamp"` @@ -20733,6 +20737,12 @@ func (s *Contact) SetQueueInfo(v *QueueInfo) *Contact { return s } +// SetRelatedContactId sets the RelatedContactId field's value. +func (s *Contact) SetRelatedContactId(v string) *Contact { + s.RelatedContactId = &v + return s +} + // SetScheduledTimestamp sets the ScheduledTimestamp field's value. func (s *Contact) SetScheduledTimestamp(v time.Time) *Contact { s.ScheduledTimestamp = &v @@ -37267,6 +37277,76 @@ func (s *ParticipantTimerValue) SetParticipantTimerDurationInMinutes(v int64) *P return s } +// Enable persistent chats. For more information about enabling persistent chat, +// and for example use cases and how to configure for them, see Enable persistent +// chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html). +type PersistentChat struct { + _ struct{} `type:"structure"` + + // The contactId that is used for rehydration depends on the rehydration type. + // RehydrationType is required for persistent chat. + // + // * ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated + // past chat contact of the specified past ended chat session. To use this + // type, provide the initialContactId of the past ended chat session in the + // sourceContactId field. In this type, Amazon Connect determines the most + // recent chat contact on the specified chat session that has ended, and + // uses it to start a persistent chat. + // + // * FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified + // in the sourceContactId field. + // + // The actual contactId used for rehydration is provided in the response of + // this API. + RehydrationType *string `type:"string" enum:"RehydrationType"` + + // The contactId from which a persistent chat session must be started. + SourceContactId *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PersistentChat) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PersistentChat) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PersistentChat) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PersistentChat"} + if s.SourceContactId != nil && len(*s.SourceContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceContactId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRehydrationType sets the RehydrationType field's value. +func (s *PersistentChat) SetRehydrationType(v string) *PersistentChat { + s.RehydrationType = &v + return s +} + +// SetSourceContactId sets the SourceContactId field's value. +func (s *PersistentChat) SetSourceContactId(v string) *PersistentChat { + s.SourceContactId = &v + return s +} + // Contains information about a phone number for a quick connect. type PhoneNumberQuickConnectConfig struct { _ struct{} `type:"structure"` @@ -41737,6 +41817,11 @@ type StartChatContactInput struct { // ParticipantDetails is a required field ParticipantDetails *ParticipantDetails `type:"structure" required:"true"` + // Enable persistent chats. For more information about enabling persistent chat, + // and for example use cases and how to configure for them, see Enable persistent + // chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html). + PersistentChat *PersistentChat `type:"structure"` + // The supported chat message content types. Content types must always contain // text/plain. You can then put any other supported type in the list. For example, // all the following lists are valid because they contain text/plain: [text/plain, @@ -41791,6 +41876,11 @@ func (s *StartChatContactInput) Validate() error { invalidParams.AddNested("ParticipantDetails", err.(request.ErrInvalidParams)) } } + if s.PersistentChat != nil { + if err := s.PersistentChat.Validate(); err != nil { + invalidParams.AddNested("PersistentChat", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -41840,6 +41930,12 @@ func (s *StartChatContactInput) SetParticipantDetails(v *ParticipantDetails) *St return s } +// SetPersistentChat sets the PersistentChat field's value. +func (s *StartChatContactInput) SetPersistentChat(v *PersistentChat) *StartChatContactInput { + s.PersistentChat = v + return s +} + // SetSupportedMessagingContentTypes sets the SupportedMessagingContentTypes field's value. func (s *StartChatContactInput) SetSupportedMessagingContentTypes(v []*string) *StartChatContactInput { s.SupportedMessagingContentTypes = v @@ -41852,6 +41948,10 @@ type StartChatContactOutput struct { // The identifier of this contact within the Amazon Connect instance. ContactId *string `min:"1" type:"string"` + // The contactId from which a persistent chat session is started. This field + // is populated only for persistent chats. + ContinuedFromContactId *string `min:"1" type:"string"` + // The identifier for a chat participant. The participantId for a chat participant // is the same throughout the chat lifecycle. ParticipantId *string `min:"1" type:"string"` @@ -41886,6 +41986,12 @@ func (s *StartChatContactOutput) SetContactId(v string) *StartChatContactOutput return s } +// SetContinuedFromContactId sets the ContinuedFromContactId field's value. +func (s *StartChatContactOutput) SetContinuedFromContactId(v string) *StartChatContactOutput { + s.ContinuedFromContactId = &v + return s +} + // SetParticipantId sets the ParticipantId field's value. func (s *StartChatContactOutput) SetParticipantId(v string) *StartChatContactOutput { s.ParticipantId = &v @@ -51802,6 +51908,22 @@ func ReferenceType_Values() []string { } } +const ( + // RehydrationTypeEntirePastSession is a RehydrationType enum value + RehydrationTypeEntirePastSession = "ENTIRE_PAST_SESSION" + + // RehydrationTypeFromSegment is a RehydrationType enum value + RehydrationTypeFromSegment = "FROM_SEGMENT" +) + +// RehydrationType_Values returns all elements of the RehydrationType enum +func RehydrationType_Values() []string { + return []string{ + RehydrationTypeEntirePastSession, + RehydrationTypeFromSegment, + } +} + const ( // ResourceTypeContact is a ResourceType enum value ResourceTypeContact = "CONTACT" diff --git a/service/connectparticipant/api.go b/service/connectparticipant/api.go index 81aba64ae84..a7d29d8bd4c 100644 --- a/service/connectparticipant/api.go +++ b/service/connectparticipant/api.go @@ -476,6 +476,8 @@ func (c *ConnectParticipant) GetTranscriptRequest(input *GetTranscriptInput) (re // GetTranscript API operation for Amazon Connect Participant Service. // // Retrieves a transcript of the session, including details about any attachments. +// For information about accessing past chat contact transcripts for a persistent +// chat, see Enable persistent chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html). // // ConnectionToken is used for invoking this API instead of ParticipantToken. // @@ -1751,6 +1753,10 @@ type Item struct { // Provides information about the attachments. Attachments []*AttachmentItem `type:"list"` + // The contactId on which the transcript item was originally sent. This field + // is populated only when the transcript item is from the current chat session. + ContactId *string `min:"1" type:"string"` + // The content of the message or event. Content *string `min:"1" type:"string"` @@ -1773,6 +1779,11 @@ type Item struct { // The role of the sender. For example, is it a customer, agent, or system. ParticipantRole *string `type:"string" enum:"ParticipantRole"` + // The contactId on which the transcript item was originally sent. This field + // is only populated for persistent chats when the transcript item is from the + // past chat session. For more information, see Enable persistent chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html). + RelatedContactId *string `min:"1" type:"string"` + // Type of the item: message or event. Type *string `type:"string" enum:"ChatItemType"` } @@ -1807,6 +1818,12 @@ func (s *Item) SetAttachments(v []*AttachmentItem) *Item { return s } +// SetContactId sets the ContactId field's value. +func (s *Item) SetContactId(v string) *Item { + s.ContactId = &v + return s +} + // SetContent sets the Content field's value. func (s *Item) SetContent(v string) *Item { s.Content = &v @@ -1849,6 +1866,12 @@ func (s *Item) SetParticipantRole(v string) *Item { return s } +// SetRelatedContactId sets the RelatedContactId field's value. +func (s *Item) SetRelatedContactId(v string) *Item { + s.RelatedContactId = &v + return s +} + // SetType sets the Type field's value. func (s *Item) SetType(v string) *Item { s.Type = &v diff --git a/service/ec2/api.go b/service/ec2/api.go index cc86b022400..08d91589743 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -68988,6 +68988,14 @@ type CreateLaunchTemplateVersionInput struct { // both. LaunchTemplateName *string `min:"3" type:"string"` + // If true, and if a Systems Manager parameter is specified for ImageId, the + // AMI ID is displayed in the response for imageID. For more information, see + // Use a Systems Manager parameter instead of an AMI ID (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id) + // in the Amazon Elastic Compute Cloud User Guide. + // + // Default: false + ResolveAlias *bool `type:"boolean"` + // The version number of the launch template version on which to base the new // version. The new version inherits the same launch parameters as the source // version, except for parameters that you specify in LaunchTemplateData. Snapshots @@ -69068,6 +69076,12 @@ func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateName(v string) *Crea return s } +// SetResolveAlias sets the ResolveAlias field's value. +func (s *CreateLaunchTemplateVersionInput) SetResolveAlias(v bool) *CreateLaunchTemplateVersionInput { + s.ResolveAlias = &v + return s +} + // SetSourceVersion sets the SourceVersion field's value. func (s *CreateLaunchTemplateVersionInput) SetSourceVersion(v string) *CreateLaunchTemplateVersionInput { s.SourceVersion = &v @@ -93640,6 +93654,19 @@ type DescribeLaunchTemplateVersionsInput struct { // The token to request the next page of results. NextToken *string `type:"string"` + // If true, and if a Systems Manager parameter is specified for ImageId, the + // AMI ID is displayed in the response for imageId. + // + // If false, and if a Systems Manager parameter is specified for ImageId, the + // parameter is displayed in the response for imageId. + // + // For more information, see Use a Systems Manager parameter instead of an AMI + // ID (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id) + // in the Amazon Elastic Compute Cloud User Guide. + // + // Default: false + ResolveAlias *bool `type:"boolean"` + // One or more versions of the launch template. Valid values depend on whether // you are describing a specified launch template (by ID or name) or all launch // templates in your account. @@ -93734,6 +93761,12 @@ func (s *DescribeLaunchTemplateVersionsInput) SetNextToken(v string) *DescribeLa return s } +// SetResolveAlias sets the ResolveAlias field's value. +func (s *DescribeLaunchTemplateVersionsInput) SetResolveAlias(v bool) *DescribeLaunchTemplateVersionsInput { + s.ResolveAlias = &v + return s +} + // SetVersions sets the Versions field's value. func (s *DescribeLaunchTemplateVersionsInput) SetVersions(v []*string) *DescribeLaunchTemplateVersionsInput { s.Versions = v @@ -153251,7 +153284,22 @@ type RequestLaunchTemplateData struct { // The name or Amazon Resource Name (ARN) of an IAM instance profile. IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecificationRequest `type:"structure"` - // The ID of the AMI. + // The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, + // which will resolve to an AMI ID on launch. + // + // Valid formats: + // + // * ami-17characters00000 + // + // * resolve:ssm:parameter-name + // + // * resolve:ssm:parameter-name:version-number + // + // * resolve:ssm:parameter-name:label + // + // For more information, see Use a Systems Manager parameter instead of an AMI + // ID (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id) + // in the Amazon Elastic Compute Cloud User Guide. ImageId *string `type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown @@ -156005,7 +156053,24 @@ type ResponseLaunchTemplateData struct { // The IAM instance profile. IamInstanceProfile *LaunchTemplateIamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` - // The ID of the AMI that was used to launch the instance. + // The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter + // will resolve to the ID of the AMI at instance launch. + // + // The value depends on what you specified in the request. The possible values + // are: + // + // * If an AMI ID was specified in the request, then this is the AMI ID. + // + // * If a Systems Manager parameter was specified in the request, and ResolveAlias + // was configured as true, then this is the AMI ID that the parameter is + // mapped to in the Parameter Store. + // + // * If a Systems Manager parameter was specified in the request, and ResolveAlias + // was configured as false, then this is the parameter value. + // + // For more information, see Use a Systems Manager parameter instead of an AMI + // ID (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id) + // in the Amazon Elastic Compute Cloud User Guide. ImageId *string `locationName:"imageId" type:"string"` // Indicates whether an instance stops or terminates when you initiate shutdown diff --git a/service/glue/api.go b/service/glue/api.go index 851b261f3ea..be08f045786 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -24318,6 +24318,109 @@ func (s *CatalogEntry) SetTableName(v string) *CatalogEntry { return s } +// Specifies a Hudi data source that is registered in the Glue Data Catalog. +type CatalogHudiSource struct { + _ struct{} `type:"structure"` + + // Specifies additional connection options. + AdditionalHudiOptions map[string]*string `type:"map"` + + // The name of the database to read from. + // + // Database is a required field + Database *string `type:"string" required:"true"` + + // The name of the Hudi data source. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies the data schema for the Hudi source. + OutputSchemas []*GlueSchema `type:"list"` + + // The name of the table in the database to read from. + // + // Table is a required field + Table *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CatalogHudiSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CatalogHudiSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CatalogHudiSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CatalogHudiSource"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Table == nil { + invalidParams.Add(request.NewErrParamRequired("Table")) + } + if s.OutputSchemas != nil { + for i, v := range s.OutputSchemas { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputSchemas", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdditionalHudiOptions sets the AdditionalHudiOptions field's value. +func (s *CatalogHudiSource) SetAdditionalHudiOptions(v map[string]*string) *CatalogHudiSource { + s.AdditionalHudiOptions = v + return s +} + +// SetDatabase sets the Database field's value. +func (s *CatalogHudiSource) SetDatabase(v string) *CatalogHudiSource { + s.Database = &v + return s +} + +// SetName sets the Name field's value. +func (s *CatalogHudiSource) SetName(v string) *CatalogHudiSource { + s.Name = &v + return s +} + +// SetOutputSchemas sets the OutputSchemas field's value. +func (s *CatalogHudiSource) SetOutputSchemas(v []*GlueSchema) *CatalogHudiSource { + s.OutputSchemas = v + return s +} + +// SetTable sets the Table field's value. +func (s *CatalogHudiSource) SetTable(v string) *CatalogHudiSource { + s.Table = &v + return s +} + // A structure containing migration status information. type CatalogImportStatus struct { _ struct{} `type:"structure"` @@ -25042,6 +25145,9 @@ type CodeGenConfigurationNode struct { // Specifies a connector to an Amazon Athena data source. AthenaConnectorSource *AthenaConnectorSource `type:"structure"` + // Specifies a Hudi data source that is registered in the Glue Data Catalog. + CatalogHudiSource *CatalogHudiSource `type:"structure"` + // Specifies an Apache Kafka data store in the Data Catalog. CatalogKafkaSource *CatalogKafkaSource `type:"structure"` @@ -25158,6 +25264,10 @@ type CodeGenConfigurationNode struct { // Specifies a transform that renames a single data property key. RenameField *RenameField `type:"structure"` + // Specifies a Hudi data source that is registered in the Glue Data Catalog. + // The Hudi data source must be stored in Amazon S3. + S3CatalogHudiSource *S3CatalogHudiSource `type:"structure"` + // Specifies an Amazon S3 data store in the Glue Data Catalog. S3CatalogSource *S3CatalogSource `type:"structure"` @@ -25174,6 +25284,15 @@ type CodeGenConfigurationNode struct { // storage. S3GlueParquetTarget *S3GlueParquetTarget `type:"structure"` + // Specifies a target that writes to a Hudi data source in the Glue Data Catalog. + S3HudiCatalogTarget *S3HudiCatalogTarget `type:"structure"` + + // Specifies a target that writes to a Hudi data source in Amazon S3. + S3HudiDirectTarget *S3HudiDirectTarget `type:"structure"` + + // Specifies a Hudi data source stored in Amazon S3. + S3HudiSource *S3HudiSource `type:"structure"` + // Specifies a JSON data store stored in Amazon S3. S3JsonSource *S3JsonSource `type:"structure"` @@ -25247,6 +25366,11 @@ func (s *CodeGenConfigurationNode) Validate() error { invalidParams.AddNested("AthenaConnectorSource", err.(request.ErrInvalidParams)) } } + if s.CatalogHudiSource != nil { + if err := s.CatalogHudiSource.Validate(); err != nil { + invalidParams.AddNested("CatalogHudiSource", err.(request.ErrInvalidParams)) + } + } if s.CatalogKafkaSource != nil { if err := s.CatalogKafkaSource.Validate(); err != nil { invalidParams.AddNested("CatalogKafkaSource", err.(request.ErrInvalidParams)) @@ -25417,6 +25541,11 @@ func (s *CodeGenConfigurationNode) Validate() error { invalidParams.AddNested("RenameField", err.(request.ErrInvalidParams)) } } + if s.S3CatalogHudiSource != nil { + if err := s.S3CatalogHudiSource.Validate(); err != nil { + invalidParams.AddNested("S3CatalogHudiSource", err.(request.ErrInvalidParams)) + } + } if s.S3CatalogSource != nil { if err := s.S3CatalogSource.Validate(); err != nil { invalidParams.AddNested("S3CatalogSource", err.(request.ErrInvalidParams)) @@ -25442,6 +25571,21 @@ func (s *CodeGenConfigurationNode) Validate() error { invalidParams.AddNested("S3GlueParquetTarget", err.(request.ErrInvalidParams)) } } + if s.S3HudiCatalogTarget != nil { + if err := s.S3HudiCatalogTarget.Validate(); err != nil { + invalidParams.AddNested("S3HudiCatalogTarget", err.(request.ErrInvalidParams)) + } + } + if s.S3HudiDirectTarget != nil { + if err := s.S3HudiDirectTarget.Validate(); err != nil { + invalidParams.AddNested("S3HudiDirectTarget", err.(request.ErrInvalidParams)) + } + } + if s.S3HudiSource != nil { + if err := s.S3HudiSource.Validate(); err != nil { + invalidParams.AddNested("S3HudiSource", err.(request.ErrInvalidParams)) + } + } if s.S3JsonSource != nil { if err := s.S3JsonSource.Validate(); err != nil { invalidParams.AddNested("S3JsonSource", err.(request.ErrInvalidParams)) @@ -25517,6 +25661,12 @@ func (s *CodeGenConfigurationNode) SetAthenaConnectorSource(v *AthenaConnectorSo return s } +// SetCatalogHudiSource sets the CatalogHudiSource field's value. +func (s *CodeGenConfigurationNode) SetCatalogHudiSource(v *CatalogHudiSource) *CodeGenConfigurationNode { + s.CatalogHudiSource = v + return s +} + // SetCatalogKafkaSource sets the CatalogKafkaSource field's value. func (s *CodeGenConfigurationNode) SetCatalogKafkaSource(v *CatalogKafkaSource) *CodeGenConfigurationNode { s.CatalogKafkaSource = v @@ -25721,6 +25871,12 @@ func (s *CodeGenConfigurationNode) SetRenameField(v *RenameField) *CodeGenConfig return s } +// SetS3CatalogHudiSource sets the S3CatalogHudiSource field's value. +func (s *CodeGenConfigurationNode) SetS3CatalogHudiSource(v *S3CatalogHudiSource) *CodeGenConfigurationNode { + s.S3CatalogHudiSource = v + return s +} + // SetS3CatalogSource sets the S3CatalogSource field's value. func (s *CodeGenConfigurationNode) SetS3CatalogSource(v *S3CatalogSource) *CodeGenConfigurationNode { s.S3CatalogSource = v @@ -25751,6 +25907,24 @@ func (s *CodeGenConfigurationNode) SetS3GlueParquetTarget(v *S3GlueParquetTarget return s } +// SetS3HudiCatalogTarget sets the S3HudiCatalogTarget field's value. +func (s *CodeGenConfigurationNode) SetS3HudiCatalogTarget(v *S3HudiCatalogTarget) *CodeGenConfigurationNode { + s.S3HudiCatalogTarget = v + return s +} + +// SetS3HudiDirectTarget sets the S3HudiDirectTarget field's value. +func (s *CodeGenConfigurationNode) SetS3HudiDirectTarget(v *S3HudiDirectTarget) *CodeGenConfigurationNode { + s.S3HudiDirectTarget = v + return s +} + +// SetS3HudiSource sets the S3HudiSource field's value. +func (s *CodeGenConfigurationNode) SetS3HudiSource(v *S3HudiSource) *CodeGenConfigurationNode { + s.S3HudiSource = v + return s +} + // SetS3JsonSource sets the S3JsonSource field's value. func (s *CodeGenConfigurationNode) SetS3JsonSource(v *S3JsonSource) *CodeGenConfigurationNode { s.S3JsonSource = v @@ -58007,6 +58181,110 @@ func (s *RunStatementOutput) SetId(v int64) *RunStatementOutput { return s } +// Specifies a Hudi data source that is registered in the Glue Data Catalog. +// The Hudi data source must be stored in Amazon S3. +type S3CatalogHudiSource struct { + _ struct{} `type:"structure"` + + // Specifies additional connection options. + AdditionalHudiOptions map[string]*string `type:"map"` + + // The name of the database to read from. + // + // Database is a required field + Database *string `type:"string" required:"true"` + + // The name of the Hudi data source. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies the data schema for the Hudi source. + OutputSchemas []*GlueSchema `type:"list"` + + // The name of the table in the database to read from. + // + // Table is a required field + Table *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3CatalogHudiSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3CatalogHudiSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3CatalogHudiSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3CatalogHudiSource"} + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Table == nil { + invalidParams.Add(request.NewErrParamRequired("Table")) + } + if s.OutputSchemas != nil { + for i, v := range s.OutputSchemas { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputSchemas", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdditionalHudiOptions sets the AdditionalHudiOptions field's value. +func (s *S3CatalogHudiSource) SetAdditionalHudiOptions(v map[string]*string) *S3CatalogHudiSource { + s.AdditionalHudiOptions = v + return s +} + +// SetDatabase sets the Database field's value. +func (s *S3CatalogHudiSource) SetDatabase(v string) *S3CatalogHudiSource { + s.Database = &v + return s +} + +// SetName sets the Name field's value. +func (s *S3CatalogHudiSource) SetName(v string) *S3CatalogHudiSource { + s.Name = &v + return s +} + +// SetOutputSchemas sets the OutputSchemas field's value. +func (s *S3CatalogHudiSource) SetOutputSchemas(v []*GlueSchema) *S3CatalogHudiSource { + s.OutputSchemas = v + return s +} + +// SetTable sets the Table field's value. +func (s *S3CatalogHudiSource) SetTable(v string) *S3CatalogHudiSource { + s.Table = &v + return s +} + // Specifies an Amazon S3 data store in the Glue Data Catalog. type S3CatalogSource struct { _ struct{} `type:"structure"` @@ -58801,6 +59079,365 @@ func (s *S3GlueParquetTarget) SetSchemaChangePolicy(v *DirectSchemaChangePolicy) return s } +// Specifies a target that writes to a Hudi data source in the Glue Data Catalog. +type S3HudiCatalogTarget struct { + _ struct{} `type:"structure"` + + // Specifies additional connection options for the connector. + // + // AdditionalOptions is a required field + AdditionalOptions map[string]*string `type:"map" required:"true"` + + // The name of the database to write to. + // + // Database is a required field + Database *string `type:"string" required:"true"` + + // The nodes that are inputs to the data target. + // + // Inputs is a required field + Inputs []*string `min:"1" type:"list" required:"true"` + + // The name of the data target. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies native partitioning using a sequence of keys. + PartitionKeys [][]*string `type:"list"` + + // A policy that specifies update behavior for the crawler. + SchemaChangePolicy *CatalogSchemaChangePolicy `type:"structure"` + + // The name of the table in the database to write to. + // + // Table is a required field + Table *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3HudiCatalogTarget) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3HudiCatalogTarget) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3HudiCatalogTarget) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3HudiCatalogTarget"} + if s.AdditionalOptions == nil { + invalidParams.Add(request.NewErrParamRequired("AdditionalOptions")) + } + if s.Database == nil { + invalidParams.Add(request.NewErrParamRequired("Database")) + } + if s.Inputs == nil { + invalidParams.Add(request.NewErrParamRequired("Inputs")) + } + if s.Inputs != nil && len(s.Inputs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Inputs", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Table == nil { + invalidParams.Add(request.NewErrParamRequired("Table")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdditionalOptions sets the AdditionalOptions field's value. +func (s *S3HudiCatalogTarget) SetAdditionalOptions(v map[string]*string) *S3HudiCatalogTarget { + s.AdditionalOptions = v + return s +} + +// SetDatabase sets the Database field's value. +func (s *S3HudiCatalogTarget) SetDatabase(v string) *S3HudiCatalogTarget { + s.Database = &v + return s +} + +// SetInputs sets the Inputs field's value. +func (s *S3HudiCatalogTarget) SetInputs(v []*string) *S3HudiCatalogTarget { + s.Inputs = v + return s +} + +// SetName sets the Name field's value. +func (s *S3HudiCatalogTarget) SetName(v string) *S3HudiCatalogTarget { + s.Name = &v + return s +} + +// SetPartitionKeys sets the PartitionKeys field's value. +func (s *S3HudiCatalogTarget) SetPartitionKeys(v [][]*string) *S3HudiCatalogTarget { + s.PartitionKeys = v + return s +} + +// SetSchemaChangePolicy sets the SchemaChangePolicy field's value. +func (s *S3HudiCatalogTarget) SetSchemaChangePolicy(v *CatalogSchemaChangePolicy) *S3HudiCatalogTarget { + s.SchemaChangePolicy = v + return s +} + +// SetTable sets the Table field's value. +func (s *S3HudiCatalogTarget) SetTable(v string) *S3HudiCatalogTarget { + s.Table = &v + return s +} + +// Specifies a target that writes to a Hudi data source in Amazon S3. +type S3HudiDirectTarget struct { + _ struct{} `type:"structure"` + + // AdditionalOptions is a required field + AdditionalOptions map[string]*string `type:"map" required:"true"` + + // Specifies how the data is compressed. This is generally not necessary if + // the data has a standard file extension. Possible values are "gzip" and "bzip"). + // + // Compression is a required field + Compression *string `type:"string" required:"true" enum:"HudiTargetCompressionType"` + + // Specifies the data output format for the target. + // + // Format is a required field + Format *string `type:"string" required:"true" enum:"TargetFormat"` + + // The nodes that are inputs to the data target. + // + // Inputs is a required field + Inputs []*string `min:"1" type:"list" required:"true"` + + // The name of the data target. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies native partitioning using a sequence of keys. + PartitionKeys [][]*string `type:"list"` + + // The Amazon S3 path of your Hudi data source to write to. + // + // Path is a required field + Path *string `type:"string" required:"true"` + + // A policy that specifies update behavior for the crawler. + SchemaChangePolicy *DirectSchemaChangePolicy `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3HudiDirectTarget) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3HudiDirectTarget) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3HudiDirectTarget) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3HudiDirectTarget"} + if s.AdditionalOptions == nil { + invalidParams.Add(request.NewErrParamRequired("AdditionalOptions")) + } + if s.Compression == nil { + invalidParams.Add(request.NewErrParamRequired("Compression")) + } + if s.Format == nil { + invalidParams.Add(request.NewErrParamRequired("Format")) + } + if s.Inputs == nil { + invalidParams.Add(request.NewErrParamRequired("Inputs")) + } + if s.Inputs != nil && len(s.Inputs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Inputs", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Path == nil { + invalidParams.Add(request.NewErrParamRequired("Path")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdditionalOptions sets the AdditionalOptions field's value. +func (s *S3HudiDirectTarget) SetAdditionalOptions(v map[string]*string) *S3HudiDirectTarget { + s.AdditionalOptions = v + return s +} + +// SetCompression sets the Compression field's value. +func (s *S3HudiDirectTarget) SetCompression(v string) *S3HudiDirectTarget { + s.Compression = &v + return s +} + +// SetFormat sets the Format field's value. +func (s *S3HudiDirectTarget) SetFormat(v string) *S3HudiDirectTarget { + s.Format = &v + return s +} + +// SetInputs sets the Inputs field's value. +func (s *S3HudiDirectTarget) SetInputs(v []*string) *S3HudiDirectTarget { + s.Inputs = v + return s +} + +// SetName sets the Name field's value. +func (s *S3HudiDirectTarget) SetName(v string) *S3HudiDirectTarget { + s.Name = &v + return s +} + +// SetPartitionKeys sets the PartitionKeys field's value. +func (s *S3HudiDirectTarget) SetPartitionKeys(v [][]*string) *S3HudiDirectTarget { + s.PartitionKeys = v + return s +} + +// SetPath sets the Path field's value. +func (s *S3HudiDirectTarget) SetPath(v string) *S3HudiDirectTarget { + s.Path = &v + return s +} + +// SetSchemaChangePolicy sets the SchemaChangePolicy field's value. +func (s *S3HudiDirectTarget) SetSchemaChangePolicy(v *DirectSchemaChangePolicy) *S3HudiDirectTarget { + s.SchemaChangePolicy = v + return s +} + +// Specifies a Hudi data source stored in Amazon S3. +type S3HudiSource struct { + _ struct{} `type:"structure"` + + // Specifies additional connection options. + AdditionalHudiOptions map[string]*string `type:"map"` + + // Specifies additional connection options for the Amazon S3 data store. + AdditionalOptions *S3DirectSourceAdditionalOptions `type:"structure"` + + // The name of the Hudi source. + // + // Name is a required field + Name *string `type:"string" required:"true"` + + // Specifies the data schema for the Hudi source. + OutputSchemas []*GlueSchema `type:"list"` + + // A list of the Amazon S3 paths to read from. + // + // Paths is a required field + Paths []*string `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3HudiSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3HudiSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3HudiSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3HudiSource"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Paths == nil { + invalidParams.Add(request.NewErrParamRequired("Paths")) + } + if s.OutputSchemas != nil { + for i, v := range s.OutputSchemas { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputSchemas", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdditionalHudiOptions sets the AdditionalHudiOptions field's value. +func (s *S3HudiSource) SetAdditionalHudiOptions(v map[string]*string) *S3HudiSource { + s.AdditionalHudiOptions = v + return s +} + +// SetAdditionalOptions sets the AdditionalOptions field's value. +func (s *S3HudiSource) SetAdditionalOptions(v *S3DirectSourceAdditionalOptions) *S3HudiSource { + s.AdditionalOptions = v + return s +} + +// SetName sets the Name field's value. +func (s *S3HudiSource) SetName(v string) *S3HudiSource { + s.Name = &v + return s +} + +// SetOutputSchemas sets the OutputSchemas field's value. +func (s *S3HudiSource) SetOutputSchemas(v []*GlueSchema) *S3HudiSource { + s.OutputSchemas = v + return s +} + +// SetPaths sets the Paths field's value. +func (s *S3HudiSource) SetPaths(v []*string) *S3HudiSource { + s.Paths = v + return s +} + // Specifies a JSON data store stored in Amazon S3. type S3JsonSource struct { _ struct{} `type:"structure"` @@ -70745,6 +71382,30 @@ func GlueRecordType_Values() []string { } } +const ( + // HudiTargetCompressionTypeGzip is a HudiTargetCompressionType enum value + HudiTargetCompressionTypeGzip = "gzip" + + // HudiTargetCompressionTypeLzo is a HudiTargetCompressionType enum value + HudiTargetCompressionTypeLzo = "lzo" + + // HudiTargetCompressionTypeUncompressed is a HudiTargetCompressionType enum value + HudiTargetCompressionTypeUncompressed = "uncompressed" + + // HudiTargetCompressionTypeSnappy is a HudiTargetCompressionType enum value + HudiTargetCompressionTypeSnappy = "snappy" +) + +// HudiTargetCompressionType_Values returns all elements of the HudiTargetCompressionType enum +func HudiTargetCompressionType_Values() []string { + return []string{ + HudiTargetCompressionTypeGzip, + HudiTargetCompressionTypeLzo, + HudiTargetCompressionTypeUncompressed, + HudiTargetCompressionTypeSnappy, + } +} + const ( // JDBCDataTypeArray is a JDBCDataType enum value JDBCDataTypeArray = "ARRAY" @@ -71692,6 +72353,9 @@ const ( // TargetFormatParquet is a TargetFormat enum value TargetFormatParquet = "parquet" + + // TargetFormatHudi is a TargetFormat enum value + TargetFormatHudi = "hudi" ) // TargetFormat_Values returns all elements of the TargetFormat enum @@ -71702,6 +72366,7 @@ func TargetFormat_Values() []string { TargetFormatAvro, TargetFormatOrc, TargetFormatParquet, + TargetFormatHudi, } } diff --git a/service/groundstation/api.go b/service/groundstation/api.go index fb06cce9b3a..5f917dfb781 100644 --- a/service/groundstation/api.go +++ b/service/groundstation/api.go @@ -3846,6 +3846,16 @@ func (s *CreateConfigOutput) SetConfigType(v string) *CreateConfigOutput { type CreateDataflowEndpointGroupInput struct { _ struct{} `type:"structure"` + // Amount of time, in seconds, after a contact ends for the contact to remain + // in a POSTPASS state. A CloudWatch event is emitted when the contact enters + // and exits the POSTPASS state. + ContactPostPassDurationSeconds *int64 `locationName:"contactPostPassDurationSeconds" min:"120" type:"integer"` + + // Amount of time, in seconds, prior to contact start for the contact to remain + // in a PREPASS state. A CloudWatch event is emitted when the contact enters + // and exits the PREPASS state. + ContactPrePassDurationSeconds *int64 `locationName:"contactPrePassDurationSeconds" min:"120" type:"integer"` + // Endpoint details of each endpoint in the dataflow endpoint group. // // EndpointDetails is a required field @@ -3876,6 +3886,12 @@ func (s CreateDataflowEndpointGroupInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateDataflowEndpointGroupInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateDataflowEndpointGroupInput"} + if s.ContactPostPassDurationSeconds != nil && *s.ContactPostPassDurationSeconds < 120 { + invalidParams.Add(request.NewErrParamMinValue("ContactPostPassDurationSeconds", 120)) + } + if s.ContactPrePassDurationSeconds != nil && *s.ContactPrePassDurationSeconds < 120 { + invalidParams.Add(request.NewErrParamMinValue("ContactPrePassDurationSeconds", 120)) + } if s.EndpointDetails == nil { invalidParams.Add(request.NewErrParamRequired("EndpointDetails")) } @@ -3896,6 +3912,18 @@ func (s *CreateDataflowEndpointGroupInput) Validate() error { return nil } +// SetContactPostPassDurationSeconds sets the ContactPostPassDurationSeconds field's value. +func (s *CreateDataflowEndpointGroupInput) SetContactPostPassDurationSeconds(v int64) *CreateDataflowEndpointGroupInput { + s.ContactPostPassDurationSeconds = &v + return s +} + +// SetContactPrePassDurationSeconds sets the ContactPrePassDurationSeconds field's value. +func (s *CreateDataflowEndpointGroupInput) SetContactPrePassDurationSeconds(v int64) *CreateDataflowEndpointGroupInput { + s.ContactPrePassDurationSeconds = &v + return s +} + // SetEndpointDetails sets the EndpointDetails field's value. func (s *CreateDataflowEndpointGroupInput) SetEndpointDetails(v []*EndpointDetails) *CreateDataflowEndpointGroupInput { s.EndpointDetails = v @@ -6296,6 +6324,16 @@ func (s *GetDataflowEndpointGroupInput) SetDataflowEndpointGroupId(v string) *Ge type GetDataflowEndpointGroupOutput struct { _ struct{} `type:"structure"` + // Amount of time, in seconds, after a contact ends for the contact to remain + // in a POSTPASS state. A CloudWatch event is emitted when the contact enters + // and exits the POSTPASS state. + ContactPostPassDurationSeconds *int64 `locationName:"contactPostPassDurationSeconds" min:"120" type:"integer"` + + // Amount of time, in seconds, prior to contact start for the contact to remain + // in a PREPASS state. A CloudWatch event is emitted when the contact enters + // and exits the PREPASS state. + ContactPrePassDurationSeconds *int64 `locationName:"contactPrePassDurationSeconds" min:"120" type:"integer"` + // ARN of a dataflow endpoint group. DataflowEndpointGroupArn *string `locationName:"dataflowEndpointGroupArn" type:"string"` @@ -6327,6 +6365,18 @@ func (s GetDataflowEndpointGroupOutput) GoString() string { return s.String() } +// SetContactPostPassDurationSeconds sets the ContactPostPassDurationSeconds field's value. +func (s *GetDataflowEndpointGroupOutput) SetContactPostPassDurationSeconds(v int64) *GetDataflowEndpointGroupOutput { + s.ContactPostPassDurationSeconds = &v + return s +} + +// SetContactPrePassDurationSeconds sets the ContactPrePassDurationSeconds field's value. +func (s *GetDataflowEndpointGroupOutput) SetContactPrePassDurationSeconds(v int64) *GetDataflowEndpointGroupOutput { + s.ContactPrePassDurationSeconds = &v + return s +} + // SetDataflowEndpointGroupArn sets the DataflowEndpointGroupArn field's value. func (s *GetDataflowEndpointGroupOutput) SetDataflowEndpointGroupArn(v string) *GetDataflowEndpointGroupOutput { s.DataflowEndpointGroupArn = &v diff --git a/service/groundstation/groundstationiface/interface.go b/service/groundstation/groundstationiface/interface.go index 08e1c657d96..8e3201dc0c4 100644 --- a/service/groundstation/groundstationiface/interface.go +++ b/service/groundstation/groundstationiface/interface.go @@ -200,6 +200,9 @@ type GroundStationAPI interface { UpdateMissionProfile(*groundstation.UpdateMissionProfileInput) (*groundstation.UpdateMissionProfileOutput, error) UpdateMissionProfileWithContext(aws.Context, *groundstation.UpdateMissionProfileInput, ...request.Option) (*groundstation.UpdateMissionProfileOutput, error) UpdateMissionProfileRequest(*groundstation.UpdateMissionProfileInput) (*request.Request, *groundstation.UpdateMissionProfileOutput) + + WaitUntilContactScheduled(*groundstation.DescribeContactInput) error + WaitUntilContactScheduledWithContext(aws.Context, *groundstation.DescribeContactInput, ...request.WaiterOption) error } var _ GroundStationAPI = (*groundstation.GroundStation)(nil) diff --git a/service/groundstation/waiters.go b/service/groundstation/waiters.go new file mode 100644 index 00000000000..ff8a70d9004 --- /dev/null +++ b/service/groundstation/waiters.go @@ -0,0 +1,61 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package groundstation + +import ( + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" +) + +// WaitUntilContactScheduled uses the AWS Ground Station API operation +// DescribeContact to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *GroundStation) WaitUntilContactScheduled(input *DescribeContactInput) error { + return c.WaitUntilContactScheduledWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilContactScheduledWithContext is an extended version of WaitUntilContactScheduled. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GroundStation) WaitUntilContactScheduledWithContext(ctx aws.Context, input *DescribeContactInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilContactScheduled", + MaxAttempts: 180, + Delay: request.ConstantWaiterDelay(5 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.FailureWaiterState, + Matcher: request.PathWaiterMatch, Argument: "contactStatus", + Expected: "FAILED_TO_SCHEDULE", + }, + { + State: request.SuccessWaiterState, + Matcher: request.PathWaiterMatch, Argument: "contactStatus", + Expected: "SCHEDULED", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *DescribeContactInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeContactRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} diff --git a/service/medialive/api.go b/service/medialive/api.go index b6a32de5c04..f4c68261cb2 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -21920,6 +21920,14 @@ type M2tsSettings struct { // (or 0x1ff6). Scte35Pid *string `locationName:"scte35Pid" type:"string"` + // Defines the amount SCTE-35 preroll will be increased (in milliseconds) on + // the output. Preroll is the amount of time between the presence of a SCTE-35 + // indication in a transport stream and the PTS of the video frame it references. + // Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative + // pullup is not supported, which means that you can't make the preroll shorter. + // Be aware that latency in the output will increase by the pullup amount. + Scte35PrerollPullupMilliseconds *float64 `locationName:"scte35PrerollPullupMilliseconds" type:"double"` + // Inserts segmentation markers at each segmentationTime period. raiSegstart // sets the Random Access Indicator bit in the adaptation field. raiAdapt sets // the RAI bit and adds the current timecode in the private data bytes. psiSegstart @@ -22247,6 +22255,12 @@ func (s *M2tsSettings) SetScte35Pid(v string) *M2tsSettings { return s } +// SetScte35PrerollPullupMilliseconds sets the Scte35PrerollPullupMilliseconds field's value. +func (s *M2tsSettings) SetScte35PrerollPullupMilliseconds(v float64) *M2tsSettings { + s.Scte35PrerollPullupMilliseconds = &v + return s +} + // SetSegmentationMarkers sets the SegmentationMarkers field's value. func (s *M2tsSettings) SetSegmentationMarkers(v string) *M2tsSettings { s.SegmentationMarkers = &v diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 115672889e3..4d1fecbb507 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -148,8 +148,8 @@ func (c *OpenSearchService) AddTagsRequest(input *AddTagsInput) (req *request.Re // AddTags API operation for Amazon OpenSearch Service. // // Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a -// set of case-sensitive key-value pairs. An domain can have up to 10 tags. -// For more information, see Tagging Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging). +// set of case-sensitive key-value pairs. A domain can have up to 10 tags. For +// more information, see Tagging Amazon OpenSearch Service domains (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1877,6 +1877,104 @@ func (c *OpenSearchService) DescribeDomainsWithContext(ctx aws.Context, input *D return out, req.Send() } +const opDescribeDryRunProgress = "DescribeDryRunProgress" + +// DescribeDryRunProgressRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDryRunProgress operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeDryRunProgress for more information on using the DescribeDryRunProgress +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeDryRunProgressRequest method. +// req, resp := client.DescribeDryRunProgressRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDryRunProgress +func (c *OpenSearchService) DescribeDryRunProgressRequest(input *DescribeDryRunProgressInput) (req *request.Request, output *DescribeDryRunProgressOutput) { + op := &request.Operation{ + Name: opDescribeDryRunProgress, + HTTPMethod: "GET", + HTTPPath: "/2021-01-01/opensearch/domain/{DomainName}/dryRun", + } + + if input == nil { + input = &DescribeDryRunProgressInput{} + } + + output = &DescribeDryRunProgressOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeDryRunProgress API operation for Amazon OpenSearch Service. +// +// Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch +// Service domain. For more information, see Determining whether a change will +// cause a blue/green deployment (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#dryrun). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon OpenSearch Service's +// API operation DescribeDryRunProgress for usage and error information. +// +// Returned Error Types: +// +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDryRunProgress +func (c *OpenSearchService) DescribeDryRunProgress(input *DescribeDryRunProgressInput) (*DescribeDryRunProgressOutput, error) { + req, out := c.DescribeDryRunProgressRequest(input) + return out, req.Send() +} + +// DescribeDryRunProgressWithContext is the same as DescribeDryRunProgress with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeDryRunProgress for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *OpenSearchService) DescribeDryRunProgressWithContext(ctx aws.Context, input *DescribeDryRunProgressInput, opts ...request.Option) (*DescribeDryRunProgressOutput, error) { + req, out := c.DescribeDryRunProgressRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeInboundConnections = "DescribeInboundConnections" // DescribeInboundConnectionsRequest generates a "aws/request.Request" representing the @@ -8142,7 +8240,7 @@ type CreateVpcEndpointInput struct { // Unique, case-sensitive identifier to ensure idempotency of the request. ClientToken *string `min:"1" type:"string"` - // The Amazon Resource Name (ARN) of the domain to grant access to. + // The Amazon Resource Name (ARN) of the domain to create the endpoint for. // // DomainArn is a required field DomainArn *string `min:"1" type:"string" required:"true"` @@ -9124,6 +9222,126 @@ func (s *DescribeDomainsOutput) SetDomainStatusList(v []*DomainStatus) *Describe return s } +type DescribeDryRunProgressInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the domain. + // + // DomainName is a required field + DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` + + // The unique identifier of the dry run. + DryRunId *string `location:"querystring" locationName:"dryRunId" min:"36" type:"string"` + + // Whether to include the configuration of the dry run in the response. The + // configuration specifies the updates that you're planning to make on the domain. + LoadDryRunConfig *bool `location:"querystring" locationName:"loadDryRunConfig" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeDryRunProgressInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeDryRunProgressInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDryRunProgressInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDryRunProgressInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.DryRunId != nil && len(*s.DryRunId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("DryRunId", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *DescribeDryRunProgressInput) SetDomainName(v string) *DescribeDryRunProgressInput { + s.DomainName = &v + return s +} + +// SetDryRunId sets the DryRunId field's value. +func (s *DescribeDryRunProgressInput) SetDryRunId(v string) *DescribeDryRunProgressInput { + s.DryRunId = &v + return s +} + +// SetLoadDryRunConfig sets the LoadDryRunConfig field's value. +func (s *DescribeDryRunProgressInput) SetLoadDryRunConfig(v bool) *DescribeDryRunProgressInput { + s.LoadDryRunConfig = &v + return s +} + +type DescribeDryRunProgressOutput struct { + _ struct{} `type:"structure"` + + // Details about the changes you're planning to make on the domain. + DryRunConfig *DomainStatus `type:"structure"` + + // The current status of the dry run, including any validation errors. + DryRunProgressStatus *DryRunProgressStatus `type:"structure"` + + // The results of the dry run. + DryRunResults *DryRunResults `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeDryRunProgressOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeDryRunProgressOutput) GoString() string { + return s.String() +} + +// SetDryRunConfig sets the DryRunConfig field's value. +func (s *DescribeDryRunProgressOutput) SetDryRunConfig(v *DomainStatus) *DescribeDryRunProgressOutput { + s.DryRunConfig = v + return s +} + +// SetDryRunProgressStatus sets the DryRunProgressStatus field's value. +func (s *DescribeDryRunProgressOutput) SetDryRunProgressStatus(v *DryRunProgressStatus) *DescribeDryRunProgressOutput { + s.DryRunProgressStatus = v + return s +} + +// SetDryRunResults sets the DryRunResults field's value. +func (s *DescribeDryRunProgressOutput) SetDryRunResults(v *DryRunResults) *DescribeDryRunProgressOutput { + s.DryRunResults = v + return s +} + // Container for the parameters to the DescribeInboundConnections operation. type DescribeInboundConnectionsInput struct { _ struct{} `type:"structure"` @@ -10853,6 +11071,82 @@ func (s *DomainStatus) SetVPCOptions(v *VPCDerivedInfo) *DomainStatus { return s } +// Information about the progress of a pre-upgrade dry run analysis. +type DryRunProgressStatus struct { + _ struct{} `type:"structure"` + + // The timestamp when the dry run was initiated. + // + // CreationDate is a required field + CreationDate *string `type:"string" required:"true"` + + // The unique identifier of the dry run. + // + // DryRunId is a required field + DryRunId *string `min:"36" type:"string" required:"true"` + + // The current status of the dry run. + // + // DryRunStatus is a required field + DryRunStatus *string `type:"string" required:"true"` + + // The timestamp when the dry run was last updated. + // + // UpdateDate is a required field + UpdateDate *string `type:"string" required:"true"` + + // Any validation failures that occurred as a result of the dry run. + ValidationFailures []*ValidationFailure `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DryRunProgressStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DryRunProgressStatus) GoString() string { + return s.String() +} + +// SetCreationDate sets the CreationDate field's value. +func (s *DryRunProgressStatus) SetCreationDate(v string) *DryRunProgressStatus { + s.CreationDate = &v + return s +} + +// SetDryRunId sets the DryRunId field's value. +func (s *DryRunProgressStatus) SetDryRunId(v string) *DryRunProgressStatus { + s.DryRunId = &v + return s +} + +// SetDryRunStatus sets the DryRunStatus field's value. +func (s *DryRunProgressStatus) SetDryRunStatus(v string) *DryRunProgressStatus { + s.DryRunStatus = &v + return s +} + +// SetUpdateDate sets the UpdateDate field's value. +func (s *DryRunProgressStatus) SetUpdateDate(v string) *DryRunProgressStatus { + s.UpdateDate = &v + return s +} + +// SetValidationFailures sets the ValidationFailures field's value. +func (s *DryRunProgressStatus) SetValidationFailures(v []*ValidationFailure) *DryRunProgressStatus { + s.ValidationFailures = v + return s +} + // Results of a dry run performed in an update domain request. type DryRunResults struct { _ struct{} `type:"structure"` @@ -15460,9 +15754,19 @@ type UpdateDomainConfigInput struct { DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // This flag, when set to True, specifies whether the UpdateDomain request should - // return the results of validation check without actually applying the change. + // return the results of a dry run analysis without actually applying the change. + // A dry run determines what type of deployment the update will cause. DryRun *bool `type:"boolean"` + // The type of dry run to perform. + // + // * Basic only returns the type of deployment (blue/green or dynamic) that + // the update will cause. + // + // * Verbose runs an additional check to validate the changes you're making. + // For more information, see Validating a domain update (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check). + DryRunMode *string `type:"string" enum:"DryRunMode"` + // The type and size of the EBS volume to attach to instances in the domain. EBSOptions *EBSOptions `type:"structure"` @@ -15613,6 +15917,12 @@ func (s *UpdateDomainConfigInput) SetDryRun(v bool) *UpdateDomainConfigInput { return s } +// SetDryRunMode sets the DryRunMode field's value. +func (s *UpdateDomainConfigInput) SetDryRunMode(v string) *UpdateDomainConfigInput { + s.DryRunMode = &v + return s +} + // SetEBSOptions sets the EBSOptions field's value. func (s *UpdateDomainConfigInput) SetEBSOptions(v *EBSOptions) *UpdateDomainConfigInput { s.EBSOptions = v @@ -15659,7 +15969,10 @@ type UpdateDomainConfigOutput struct { // DomainConfig is a required field DomainConfig *DomainConfig `type:"structure" required:"true"` - // Results of a dry run performed in an update domain request. + // The status of the dry run being performed on the domain, if any. + DryRunProgressStatus *DryRunProgressStatus `type:"structure"` + + // Results of the dry run performed in the update domain request. DryRunResults *DryRunResults `type:"structure"` } @@ -15687,6 +16000,12 @@ func (s *UpdateDomainConfigOutput) SetDomainConfig(v *DomainConfig) *UpdateDomai return s } +// SetDryRunProgressStatus sets the DryRunProgressStatus field's value. +func (s *UpdateDomainConfigOutput) SetDryRunProgressStatus(v *DryRunProgressStatus) *UpdateDomainConfigOutput { + s.DryRunProgressStatus = v + return s +} + // SetDryRunResults sets the DryRunResults field's value. func (s *UpdateDomainConfigOutput) SetDryRunResults(v *DryRunResults) *UpdateDomainConfigOutput { s.DryRunResults = v @@ -16439,6 +16758,48 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +// A validation failure that occurred as the result of a pre-update validation +// check (verbose dry run) on a domain. +type ValidationFailure struct { + _ struct{} `type:"structure"` + + // The error code of the failure. + Code *string `type:"string"` + + // A message corresponding to the failure. + Message *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationFailure) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationFailure) GoString() string { + return s.String() +} + +// SetCode sets the Code field's value. +func (s *ValidationFailure) SetCode(v string) *ValidationFailure { + s.Code = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *ValidationFailure) SetMessage(v string) *ValidationFailure { + s.Message = &v + return s +} + // The status of the the OpenSearch or Elasticsearch version options for the // specified Amazon OpenSearch Service domain. type VersionStatus struct { @@ -16860,6 +17221,22 @@ func DomainPackageStatus_Values() []string { } } +const ( + // DryRunModeBasic is a DryRunMode enum value + DryRunModeBasic = "Basic" + + // DryRunModeVerbose is a DryRunMode enum value + DryRunModeVerbose = "Verbose" +) + +// DryRunMode_Values returns all elements of the DryRunMode enum +func DryRunMode_Values() []string { + return []string{ + DryRunModeBasic, + DryRunModeVerbose, + } +} + const ( // EngineTypeOpenSearch is a EngineType enum value EngineTypeOpenSearch = "OpenSearch" diff --git a/service/opensearchservice/opensearchserviceiface/interface.go b/service/opensearchservice/opensearchserviceiface/interface.go index 9e0af199c70..c23344a54a3 100644 --- a/service/opensearchservice/opensearchserviceiface/interface.go +++ b/service/opensearchservice/opensearchserviceiface/interface.go @@ -139,6 +139,10 @@ type OpenSearchServiceAPI interface { DescribeDomainsWithContext(aws.Context, *opensearchservice.DescribeDomainsInput, ...request.Option) (*opensearchservice.DescribeDomainsOutput, error) DescribeDomainsRequest(*opensearchservice.DescribeDomainsInput) (*request.Request, *opensearchservice.DescribeDomainsOutput) + DescribeDryRunProgress(*opensearchservice.DescribeDryRunProgressInput) (*opensearchservice.DescribeDryRunProgressOutput, error) + DescribeDryRunProgressWithContext(aws.Context, *opensearchservice.DescribeDryRunProgressInput, ...request.Option) (*opensearchservice.DescribeDryRunProgressOutput, error) + DescribeDryRunProgressRequest(*opensearchservice.DescribeDryRunProgressInput) (*request.Request, *opensearchservice.DescribeDryRunProgressOutput) + DescribeInboundConnections(*opensearchservice.DescribeInboundConnectionsInput) (*opensearchservice.DescribeInboundConnectionsOutput, error) DescribeInboundConnectionsWithContext(aws.Context, *opensearchservice.DescribeInboundConnectionsInput, ...request.Option) (*opensearchservice.DescribeInboundConnectionsOutput, error) DescribeInboundConnectionsRequest(*opensearchservice.DescribeInboundConnectionsInput) (*request.Request, *opensearchservice.DescribeInboundConnectionsOutput) diff --git a/service/panorama/api.go b/service/panorama/api.go index 2588d20cf85..d83a02aba3c 100644 --- a/service/panorama/api.go +++ b/service/panorama/api.go @@ -144,8 +144,8 @@ func (c *Panorama) CreateJobForDevicesRequest(input *CreateJobForDevicesInput) ( // CreateJobForDevices API operation for AWS Panorama. // -// Creates a job to run on one or more devices. A job can update a device's -// software or reboot it. +// Creates a job to run on a device. A job can update a device's software or +// reboot it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4066,7 +4066,7 @@ func (s *CreateApplicationInstanceOutput) SetApplicationInstanceId(v string) *Cr type CreateJobForDevicesInput struct { _ struct{} `type:"structure"` - // IDs of target devices. + // ID of target device. // // DeviceIds is a required field DeviceIds []*string `min:"1" type:"list" required:"true"` @@ -9170,6 +9170,9 @@ func (s *NtpStatus) SetNtpServerName(v string) *NtpStatus { type OTAJobConfig struct { _ struct{} `type:"structure"` + // Whether to apply the update if it is a major version change. + AllowMajorVersionUpdate *bool `type:"boolean"` + // The target version of the device software. // // ImageVersion is a required field @@ -9210,6 +9213,12 @@ func (s *OTAJobConfig) Validate() error { return nil } +// SetAllowMajorVersionUpdate sets the AllowMajorVersionUpdate field's value. +func (s *OTAJobConfig) SetAllowMajorVersionUpdate(v bool) *OTAJobConfig { + s.AllowMajorVersionUpdate = &v + return s +} + // SetImageVersion sets the ImageVersion field's value. func (s *OTAJobConfig) SetImageVersion(v string) *OTAJobConfig { s.ImageVersion = &v diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 552cb0e560b..aa03eeb522d 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -69651,6 +69651,20 @@ type HyperParameterTrainingJobDefinition struct { // access. EnableNetworkIsolation *bool `type:"boolean"` + // An environment variable that you can pass into the SageMaker CreateTrainingJob + // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html) + // API. You can use an existing environment variable from the training container + // (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html#sagemaker-CreateTrainingJob-request-Environment) + // or use your own. See Define metrics and variables (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html) + // for more information. + // + // The maximum number of items specified for Map Entries refers to the maximum + // number of environment variables for each TrainingJobDefinition and also the + // maximum for the hyperparameter tuning job itself. That is, the sum of the + // number of environment variables for all the training job definitions can't + // exceed the maximum number specified. + Environment map[string]*string `type:"map"` + // Specifies ranges of integer, continuous, and categorical hyperparameters // that a hyperparameter tuning job searches. The hyperparameter tuning job // launches training jobs with hyperparameter values within these ranges to @@ -69873,6 +69887,12 @@ func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) return s } +// SetEnvironment sets the Environment field's value. +func (s *HyperParameterTrainingJobDefinition) SetEnvironment(v map[string]*string) *HyperParameterTrainingJobDefinition { + s.Environment = v + return s +} + // SetHyperParameterRanges sets the HyperParameterRanges field's value. func (s *HyperParameterTrainingJobDefinition) SetHyperParameterRanges(v *ParameterRanges) *HyperParameterTrainingJobDefinition { s.HyperParameterRanges = v @@ -70107,7 +70127,7 @@ type HyperParameterTuningInstanceConfig struct { // The number of instances of the type specified by InstanceType. Choose an // instance count larger than 1 for distributed training algorithms. See SageMaker // distributed training jobs (https://docs.aws.amazon.com/data-parallel-use-api.html) - // for more informcration. + // for more information. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` @@ -108260,7 +108280,7 @@ type UpdateEndpointInput struct { // When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties, // whose value is set to true, ExcludeRetainedVariantProperties specifies the // list of type VariantProperty to override with the values provided by EndpointConfig. - // If you don't specify a value for ExcludeAllVariantProperties, no variant + // If you don't specify a value for ExcludeRetainedVariantProperties, no variant // properties are overridden. ExcludeRetainedVariantProperties []*VariantProperty `type:"list"`