From 98e9083d675c3371d0f1ad97e6a1cbfc9b0293a3 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 17 Apr 2023 11:29:15 -0700 Subject: [PATCH] Release v1.44.245 (2023-04-17) (#4803) Release v1.44.245 (2023-04-17) === ### Service Client Updates * `service/appflow`: Updates service API and documentation * `service/drs`: Updates service API, documentation, and paginators * `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples * Documentation updates for DynamoDB API * `service/emr-serverless`: Updates service API and documentation * `service/internetmonitor`: Updates service API and documentation * `service/iotwireless`: Updates service API and documentation * `service/lambda`: Updates service API * Add Python 3.10 (python3.10) support to AWS Lambda --- CHANGELOG.md | 14 + aws/endpoints/defaults.go | 15 + aws/version.go | 2 +- models/apis/appflow/2020-08-23/api-2.json | 48 +- models/apis/appflow/2020-08-23/docs-2.json | 12 + .../appflow/2020-08-23/endpoint-tests-1.json | 188 ++-- models/apis/drs/2020-02-26/api-2.json | 172 +++- models/apis/drs/2020-02-26/docs-2.json | 106 +- .../apis/drs/2020-02-26/endpoint-tests-1.json | 200 ++-- models/apis/drs/2020-02-26/paginators-1.json | 6 + models/apis/dynamodb/2012-08-10/docs-2.json | 4 +- .../dynamodb/2012-08-10/endpoint-tests-1.json | 242 +++-- .../apis/emr-serverless/2021-07-13/api-2.json | 11 +- .../emr-serverless/2021-07-13/docs-2.json | 19 +- .../2021-07-13/endpoint-tests-1.json | 104 +- .../internetmonitor/2021-06-03/api-2.json | 22 +- .../internetmonitor/2021-06-03/docs-2.json | 12 +- models/apis/iotwireless/2020-11-22/api-2.json | 20 +- .../apis/iotwireless/2020-11-22/docs-2.json | 16 +- .../2020-11-22/endpoint-tests-1.json | 102 +- models/apis/lambda/2015-03-31/api-2.json | 3 +- models/endpoints/endpoints.json | 5 + service/appflow/api.go | 172 ++++ service/drs/api.go | 958 +++++++++++++++++- service/drs/drsiface/interface.go | 19 + service/dynamodb/api.go | 5 +- service/emrserverless/api.go | 79 +- service/internetmonitor/api.go | 57 +- service/iotwireless/api.go | 54 +- service/lambda/api.go | 4 + 30 files changed, 2259 insertions(+), 412 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef13de50a9d..9dff6c1a375 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.44.245 (2023-04-17) +=== + +### Service Client Updates +* `service/appflow`: Updates service API and documentation +* `service/drs`: Updates service API, documentation, and paginators +* `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples + * Documentation updates for DynamoDB API +* `service/emr-serverless`: Updates service API and documentation +* `service/internetmonitor`: Updates service API and documentation +* `service/iotwireless`: Updates service API and documentation +* `service/lambda`: Updates service API + * Add Python 3.10 (python3.10) support to AWS Lambda + Release v1.44.244 (2023-04-14) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 0b63093007a..debf74510cb 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3305,6 +3305,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -3323,6 +3326,12 @@ var awsPartition = partition{ endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -3332,6 +3341,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -25486,6 +25498,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 202dfe438a8..f34d398202f 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.244" +const SDKVersion = "1.44.245" diff --git a/models/apis/appflow/2020-08-23/api-2.json b/models/apis/appflow/2020-08-23/api-2.json index fcfe17d1d62..464055a19e8 100644 --- a/models/apis/appflow/2020-08-23/api-2.json +++ b/models/apis/appflow/2020-08-23/api-2.json @@ -592,6 +592,12 @@ "pattern":"\\S+", "sensitive":true }, + "ClientToken":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[ -~]+" + }, "ClusterIdentifier":{ "type":"string", "max":512, @@ -1002,7 +1008,11 @@ "connectorType":{"shape":"ConnectorType"}, "connectorLabel":{"shape":"ConnectorLabel"}, "connectionMode":{"shape":"ConnectionMode"}, - "connectorProfileConfig":{"shape":"ConnectorProfileConfig"} + "connectorProfileConfig":{"shape":"ConnectorProfileConfig"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "CreateConnectorProfileResponse":{ @@ -1029,7 +1039,11 @@ "destinationFlowConfigList":{"shape":"DestinationFlowConfigList"}, "tasks":{"shape":"Tasks"}, "tags":{"shape":"TagMap"}, - "metadataCatalogConfig":{"shape":"MetadataCatalogConfig"} + "metadataCatalogConfig":{"shape":"MetadataCatalogConfig"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "CreateFlowResponse":{ @@ -2475,7 +2489,11 @@ "connectorLabel":{"shape":"ConnectorLabel"}, "description":{"shape":"Description"}, "connectorProvisioningType":{"shape":"ConnectorProvisioningType"}, - "connectorProvisioningConfig":{"shape":"ConnectorProvisioningConfig"} + "connectorProvisioningConfig":{"shape":"ConnectorProvisioningConfig"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "RegisterConnectorResponse":{ @@ -3058,7 +3076,11 @@ "type":"structure", "required":["flowName"], "members":{ - "flowName":{"shape":"FlowName"} + "flowName":{"shape":"FlowName"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "StartFlowResponse":{ @@ -3358,7 +3380,11 @@ "members":{ "connectorProfileName":{"shape":"ConnectorProfileName"}, "connectionMode":{"shape":"ConnectionMode"}, - "connectorProfileConfig":{"shape":"ConnectorProfileConfig"} + "connectorProfileConfig":{"shape":"ConnectorProfileConfig"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "UpdateConnectorProfileResponse":{ @@ -3373,7 +3399,11 @@ "members":{ "connectorLabel":{"shape":"ConnectorLabel"}, "description":{"shape":"Description"}, - "connectorProvisioningConfig":{"shape":"ConnectorProvisioningConfig"} + "connectorProvisioningConfig":{"shape":"ConnectorProvisioningConfig"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "UpdateConnectorRegistrationResponse":{ @@ -3398,7 +3428,11 @@ "sourceFlowConfig":{"shape":"SourceFlowConfig"}, "destinationFlowConfigList":{"shape":"DestinationFlowConfigList"}, "tasks":{"shape":"Tasks"}, - "metadataCatalogConfig":{"shape":"MetadataCatalogConfig"} + "metadataCatalogConfig":{"shape":"MetadataCatalogConfig"}, + "clientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } } }, "UpdateFlowResponse":{ diff --git a/models/apis/appflow/2020-08-23/docs-2.json b/models/apis/appflow/2020-08-23/docs-2.json index 9cdc32af33d..494e04c731f 100644 --- a/models/apis/appflow/2020-08-23/docs-2.json +++ b/models/apis/appflow/2020-08-23/docs-2.json @@ -341,6 +341,18 @@ "ZendeskConnectorProfileCredentials$clientSecret": "

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

" } }, + "ClientToken": { + "base": null, + "refs": { + "CreateConnectorProfileRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your CreateConnectorProfile request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to CreateConnectorProfile. The token is active for 8 hours.

", + "CreateFlowRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your CreateFlow request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to CreateFlow. The token is active for 8 hours.

", + "RegisterConnectorRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your RegisterConnector request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to RegisterConnector. The token is active for 8 hours.

", + "StartFlowRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your StartFlow request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the triggerConfig parameter.

If you use a different value for clientToken, Amazon AppFlow considers it a new call to StartFlow. The token is active for 8 hours.

", + "UpdateConnectorProfileRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorProfile request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorProfile. The token is active for 8 hours.

", + "UpdateConnectorRegistrationRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorRegistration request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateConnectorRegistration. The token is active for 8 hours.

", + "UpdateFlowRequest$clientToken": "

The clientToken parameter is an idempotency token. It ensures that your UpdateFlow request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken parameter value.

If you omit a clientToken value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.

If you specify input parameters that differ from your first request, an error occurs. If you use a different value for clientToken, Amazon AppFlow considers it a new call to UpdateFlow. The token is active for 8 hours.

" + } + }, "ClusterIdentifier": { "base": null, "refs": { 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 f502b5b25a3..bf424e70d47 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": false, + "Region": "af-south-1", "UseFIPS": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -21,9 +21,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-2", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -47,9 +47,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-south-1", "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -73,9 +73,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -99,9 +99,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-1", "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -125,9 +125,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-west-3", "UseFIPS": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -151,9 +151,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "sa-east-1", "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -177,9 +177,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-2", "UseFIPS": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -203,9 +203,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -229,9 +229,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -255,9 +255,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -268,9 +268,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -281,9 +281,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -294,9 +294,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -307,9 +307,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -320,9 +320,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -333,9 +333,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -346,9 +346,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -359,9 +370,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-iso-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -372,9 +394,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -385,9 +418,20 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -398,9 +442,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -411,9 +455,9 @@ } }, "params": { - "UseDualStack": false, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -425,8 +469,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -436,9 +480,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -448,11 +492,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/drs/2020-02-26/api-2.json b/models/apis/drs/2020-02-26/api-2.json index a4b6b91f919..8125061d595 100644 --- a/models/apis/drs/2020-02-26/api-2.json +++ b/models/apis/drs/2020-02-26/api-2.json @@ -32,6 +32,24 @@ {"shape":"UninitializedAccountException"} ] }, + "CreateLaunchConfigurationTemplate":{ + "name":"CreateLaunchConfigurationTemplate", + "http":{ + "method":"POST", + "requestUri":"/CreateLaunchConfigurationTemplate", + "responseCode":201 + }, + "input":{"shape":"CreateLaunchConfigurationTemplateRequest"}, + "output":{"shape":"CreateLaunchConfigurationTemplateResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"UninitializedAccountException"} + ] + }, "CreateReplicationConfigurationTemplate":{ "name":"CreateReplicationConfigurationTemplate", "http":{ @@ -68,6 +86,24 @@ ], "idempotent":true }, + "DeleteLaunchConfigurationTemplate":{ + "name":"DeleteLaunchConfigurationTemplate", + "http":{ + "method":"POST", + "requestUri":"/DeleteLaunchConfigurationTemplate", + "responseCode":204 + }, + "input":{"shape":"DeleteLaunchConfigurationTemplateRequest"}, + "output":{"shape":"DeleteLaunchConfigurationTemplateResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"UninitializedAccountException"} + ], + "idempotent":true + }, "DeleteRecoveryInstance":{ "name":"DeleteRecoveryInstance", "http":{ @@ -152,6 +188,23 @@ {"shape":"UninitializedAccountException"} ] }, + "DescribeLaunchConfigurationTemplates":{ + "name":"DescribeLaunchConfigurationTemplates", + "http":{ + "method":"POST", + "requestUri":"/DescribeLaunchConfigurationTemplates", + "responseCode":200 + }, + "input":{"shape":"DescribeLaunchConfigurationTemplatesRequest"}, + "output":{"shape":"DescribeLaunchConfigurationTemplatesResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UninitializedAccountException"} + ] + }, "DescribeRecoveryInstances":{ "name":"DescribeRecoveryInstances", "http":{ @@ -576,6 +629,24 @@ ], "idempotent":true }, + "UpdateLaunchConfigurationTemplate":{ + "name":"UpdateLaunchConfigurationTemplate", + "http":{ + "method":"POST", + "requestUri":"/UpdateLaunchConfigurationTemplate", + "responseCode":200 + }, + "input":{"shape":"UpdateLaunchConfigurationTemplateRequest"}, + "output":{"shape":"UpdateLaunchConfigurationTemplateResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"UninitializedAccountException"} + ] + }, "UpdateReplicationConfiguration":{ "name":"UpdateReplicationConfiguration", "http":{ @@ -735,6 +806,23 @@ "sourceServer":{"shape":"SourceServer"} } }, + "CreateLaunchConfigurationTemplateRequest":{ + "type":"structure", + "members":{ + "copyPrivateIp":{"shape":"Boolean"}, + "copyTags":{"shape":"Boolean"}, + "launchDisposition":{"shape":"LaunchDisposition"}, + "licensing":{"shape":"Licensing"}, + "tags":{"shape":"TagsMap"}, + "targetInstanceTypeRightSizingMethod":{"shape":"TargetInstanceTypeRightSizingMethod"} + } + }, + "CreateLaunchConfigurationTemplateResponse":{ + "type":"structure", + "members":{ + "launchConfigurationTemplate":{"shape":"LaunchConfigurationTemplate"} + } + }, "CreateReplicationConfigurationTemplateRequest":{ "type":"structure", "required":[ @@ -895,6 +983,18 @@ "members":{ } }, + "DeleteLaunchConfigurationTemplateRequest":{ + "type":"structure", + "required":["launchConfigurationTemplateID"], + "members":{ + "launchConfigurationTemplateID":{"shape":"LaunchConfigurationTemplateID"} + } + }, + "DeleteLaunchConfigurationTemplateResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteRecoveryInstanceRequest":{ "type":"structure", "required":["recoveryInstanceID"], @@ -971,6 +1071,21 @@ "nextToken":{"shape":"PaginationToken"} } }, + "DescribeLaunchConfigurationTemplatesRequest":{ + "type":"structure", + "members":{ + "launchConfigurationTemplateIDs":{"shape":"LaunchConfigurationTemplateIDs"}, + "maxResults":{"shape":"MaxResultsType"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "DescribeLaunchConfigurationTemplatesResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"LaunchConfigurationTemplates"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "DescribeRecoveryInstancesItems":{ "type":"list", "member":{"shape":"RecoveryInstance"} @@ -1393,6 +1508,37 @@ "targetInstanceTypeRightSizingMethod":{"shape":"TargetInstanceTypeRightSizingMethod"} } }, + "LaunchConfigurationTemplate":{ + "type":"structure", + "members":{ + "arn":{"shape":"ARN"}, + "copyPrivateIp":{"shape":"Boolean"}, + "copyTags":{"shape":"Boolean"}, + "launchConfigurationTemplateID":{"shape":"LaunchConfigurationTemplateID"}, + "launchDisposition":{"shape":"LaunchDisposition"}, + "licensing":{"shape":"Licensing"}, + "tags":{"shape":"TagsMap"}, + "targetInstanceTypeRightSizingMethod":{"shape":"TargetInstanceTypeRightSizingMethod"} + } + }, + "LaunchConfigurationTemplateID":{ + "type":"string", + "max":21, + "min":21, + "pattern":"^lct-[0-9a-zA-Z]{17}$" + }, + "LaunchConfigurationTemplateIDs":{ + "type":"list", + "member":{"shape":"LaunchConfigurationTemplateID"}, + "max":1, + "min":0 + }, + "LaunchConfigurationTemplates":{ + "type":"list", + "member":{"shape":"LaunchConfigurationTemplate"}, + "max":200, + "min":0 + }, "LaunchDisposition":{ "type":"string", "enum":[ @@ -1507,6 +1653,11 @@ "max":300, "min":1 }, + "MaxResultsType":{ + "type":"integer", + "max":1000, + "min":1 + }, "NetworkInterface":{ "type":"structure", "members":{ @@ -2004,7 +2155,8 @@ "networkInterfaces":{"shape":"NetworkInterfaces"}, "os":{"shape":"OS"}, "ramBytes":{"shape":"PositiveInteger"}, - "recommendedInstanceType":{"shape":"EC2InstanceType"} + "recommendedInstanceType":{"shape":"EC2InstanceType"}, + "supportsNitroInstances":{"shape":"Boolean"} } }, "SourceServer":{ @@ -2286,6 +2438,24 @@ "targetInstanceTypeRightSizingMethod":{"shape":"TargetInstanceTypeRightSizingMethod"} } }, + "UpdateLaunchConfigurationTemplateRequest":{ + "type":"structure", + "required":["launchConfigurationTemplateID"], + "members":{ + "copyPrivateIp":{"shape":"Boolean"}, + "copyTags":{"shape":"Boolean"}, + "launchConfigurationTemplateID":{"shape":"LaunchConfigurationTemplateID"}, + "launchDisposition":{"shape":"LaunchDisposition"}, + "licensing":{"shape":"Licensing"}, + "targetInstanceTypeRightSizingMethod":{"shape":"TargetInstanceTypeRightSizingMethod"} + } + }, + "UpdateLaunchConfigurationTemplateResponse":{ + "type":"structure", + "members":{ + "launchConfigurationTemplate":{"shape":"LaunchConfigurationTemplate"} + } + }, "UpdateReplicationConfigurationRequest":{ "type":"structure", "required":["sourceServerID"], diff --git a/models/apis/drs/2020-02-26/docs-2.json b/models/apis/drs/2020-02-26/docs-2.json index 6adca28486f..ada83161b75 100644 --- a/models/apis/drs/2020-02-26/docs-2.json +++ b/models/apis/drs/2020-02-26/docs-2.json @@ -3,13 +3,16 @@ "service": "

AWS Elastic Disaster Recovery Service.

", "operations": { "CreateExtendedSourceServer": "

Create an extended source server in the target Account based on the source server in staging account.

", + "CreateLaunchConfigurationTemplate": "

Creates a new Launch Configuration Template.

", "CreateReplicationConfigurationTemplate": "

Creates a new ReplicationConfigurationTemplate.

", "DeleteJob": "

Deletes a single Job by ID.

", + "DeleteLaunchConfigurationTemplate": "

Deletes a single Launch Configuration Template by ID.

", "DeleteRecoveryInstance": "

Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.

", "DeleteReplicationConfigurationTemplate": "

Deletes a single Replication Configuration Template by ID

", "DeleteSourceServer": "

Deletes a single Source Server by ID. The Source Server must be disconnected first.

", "DescribeJobLogItems": "

Retrieves a detailed Job log with pagination.

", "DescribeJobs": "

Returns a list of Jobs. Use the JobsID and fromDate and toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.

", + "DescribeLaunchConfigurationTemplates": "

Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs

", "DescribeRecoveryInstances": "

Lists all Recovery Instances or multiple Recovery Instances by ID.

", "DescribeRecoverySnapshots": "

Lists all Recovery Snapshots for a single Source Server.

", "DescribeReplicationConfigurationTemplates": "

Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

", @@ -35,6 +38,7 @@ "UntagResource": "

Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.

", "UpdateFailbackReplicationConfiguration": "

Allows you to update the failback replication configuration of a Recovery Instance by ID.

", "UpdateLaunchConfiguration": "

Updates a LaunchConfiguration by Source Server ID.

", + "UpdateLaunchConfigurationTemplate": "

Updates an existing Launch Configuration Template by ID.

", "UpdateReplicationConfiguration": "

Allows you to update a ReplicationConfiguration by Source Server ID.

", "UpdateReplicationConfigurationTemplate": "

Updates a ReplicationConfigurationTemplate by ID.

" }, @@ -44,6 +48,7 @@ "refs": { "CreateReplicationConfigurationTemplateRequest$ebsEncryptionKeyArn": "

The ARN of the EBS encryption key to be used during replication.

", "Job$arn": "

The ARN of a Job.

", + "LaunchConfigurationTemplate$arn": "

ARN of the Launch Configuration Template.

", "ListTagsForResourceRequest$resourceArn": "

The ARN of the resource whose tags should be returned.

", "RecoveryInstance$arn": "

The ARN of the Recovery Instance.

", "ReplicationConfiguration$ebsEncryptionKeyArn": "

The ARN of the EBS encryption key to be used during replication.

", @@ -110,6 +115,8 @@ "base": null, "refs": { "ConversionProperties$forceUefi": "

Whether the volume being converted uses UEFI or not

", + "CreateLaunchConfigurationTemplateRequest$copyPrivateIp": "

Copy private IP.

", + "CreateLaunchConfigurationTemplateRequest$copyTags": "

Copy tags.

", "CreateReplicationConfigurationTemplateRequest$associateDefaultSecurityGroup": "

Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration Template.

", "CreateReplicationConfigurationTemplateRequest$autoReplicateNewDisks": "

Whether to allow the AWS replication agent to automatically replicate newly added disks.

", "CreateReplicationConfigurationTemplateRequest$createPublicIP": "

Whether to create a Public IP for the Recovery Instance by default.

", @@ -117,6 +124,8 @@ "GetFailbackReplicationConfigurationResponse$usePrivateIP": "

Whether to use Private IP for the failback replication of the Recovery Instance.

", "LaunchConfiguration$copyPrivateIp": "

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

", "LaunchConfiguration$copyTags": "

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

", + "LaunchConfigurationTemplate$copyPrivateIp": "

Copy private IP.

", + "LaunchConfigurationTemplate$copyTags": "

Copy tags.

", "Licensing$osByol": "

Whether to enable \"Bring your own license\" or not.

", "NetworkInterface$isPrimary": "

Whether this is the primary network interface.

", "PITPolicyRule$enabled": "

Whether this rule is enabled or not.

", @@ -131,10 +140,13 @@ "ReplicationConfigurationTemplate$autoReplicateNewDisks": "

Whether to allow the AWS replication agent to automatically replicate newly added disks.

", "ReplicationConfigurationTemplate$createPublicIP": "

Whether to create a Public IP for the Recovery Instance by default.

", "ReplicationConfigurationTemplate$useDedicatedReplicationServer": "

Whether to use a dedicated Replication Server in the replication staging area.

", + "SourceProperties$supportsNitroInstances": "

Are EC2 nitro instance types supported when recovering the Source Server.

", "StartRecoveryRequest$isDrill": "

Whether this Source Server Recovery operation is a drill or not.

", "UpdateFailbackReplicationConfigurationRequest$usePrivateIP": "

Whether to use Private IP for the failback replication of the Recovery Instance.

", "UpdateLaunchConfigurationRequest$copyPrivateIp": "

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

", "UpdateLaunchConfigurationRequest$copyTags": "

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

", + "UpdateLaunchConfigurationTemplateRequest$copyPrivateIp": "

Copy private IP.

", + "UpdateLaunchConfigurationTemplateRequest$copyTags": "

Copy tags.

", "UpdateReplicationConfigurationRequest$associateDefaultSecurityGroup": "

Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.

", "UpdateReplicationConfigurationRequest$autoReplicateNewDisks": "

Whether to allow the AWS replication agent to automatically replicate newly added disks.

", "UpdateReplicationConfigurationRequest$createPublicIP": "

Whether to create a Public IP for the Recovery Instance by default.

", @@ -208,6 +220,16 @@ "refs": { } }, + "CreateLaunchConfigurationTemplateRequest": { + "base": null, + "refs": { + } + }, + "CreateLaunchConfigurationTemplateResponse": { + "base": null, + "refs": { + } + }, "CreateReplicationConfigurationTemplateRequest": { "base": null, "refs": { @@ -289,6 +311,16 @@ "refs": { } }, + "DeleteLaunchConfigurationTemplateRequest": { + "base": null, + "refs": { + } + }, + "DeleteLaunchConfigurationTemplateResponse": { + "base": null, + "refs": { + } + }, "DeleteRecoveryInstanceRequest": { "base": null, "refs": { @@ -346,6 +378,16 @@ "refs": { } }, + "DescribeLaunchConfigurationTemplatesRequest": { + "base": null, + "refs": { + } + }, + "DescribeLaunchConfigurationTemplatesResponse": { + "base": null, + "refs": { + } + }, "DescribeRecoveryInstancesItems": { "base": null, "refs": { @@ -721,11 +763,43 @@ "refs": { } }, + "LaunchConfigurationTemplate": { + "base": "

Account level Launch Configuration Template.

", + "refs": { + "CreateLaunchConfigurationTemplateResponse$launchConfigurationTemplate": "

Created Launch Configuration Template.

", + "LaunchConfigurationTemplates$member": null, + "UpdateLaunchConfigurationTemplateResponse$launchConfigurationTemplate": "

Updated Launch Configuration Template.

" + } + }, + "LaunchConfigurationTemplateID": { + "base": null, + "refs": { + "DeleteLaunchConfigurationTemplateRequest$launchConfigurationTemplateID": "

The ID of the Launch Configuration Template to be deleted.

", + "LaunchConfigurationTemplate$launchConfigurationTemplateID": "

ID of the Launch Configuration Template.

", + "LaunchConfigurationTemplateIDs$member": null, + "UpdateLaunchConfigurationTemplateRequest$launchConfigurationTemplateID": "

Launch Configuration Template ID.

" + } + }, + "LaunchConfigurationTemplateIDs": { + "base": null, + "refs": { + "DescribeLaunchConfigurationTemplatesRequest$launchConfigurationTemplateIDs": "

Request to filter Launch Configuration Templates list by Launch Configuration Template ID.

" + } + }, + "LaunchConfigurationTemplates": { + "base": null, + "refs": { + "DescribeLaunchConfigurationTemplatesResponse$items": "

List of items returned by DescribeLaunchConfigurationTemplates.

" + } + }, "LaunchDisposition": { "base": null, "refs": { + "CreateLaunchConfigurationTemplateRequest$launchDisposition": "

Launch disposition.

", "LaunchConfiguration$launchDisposition": "

The state of the Recovery Instance in EC2 after the recovery operation.

", - "UpdateLaunchConfigurationRequest$launchDisposition": "

The state of the Recovery Instance in EC2 after the recovery operation.

" + "LaunchConfigurationTemplate$launchDisposition": "

Launch disposition.

", + "UpdateLaunchConfigurationRequest$launchDisposition": "

The state of the Recovery Instance in EC2 after the recovery operation.

", + "UpdateLaunchConfigurationTemplateRequest$launchDisposition": "

Launch disposition.

" } }, "LaunchStatus": { @@ -738,8 +812,11 @@ "Licensing": { "base": "

Configuration of a machine's license.

", "refs": { + "CreateLaunchConfigurationTemplateRequest$licensing": "

Licensing.

", "LaunchConfiguration$licensing": "

The licensing configuration to be used for this launch configuration.

", - "UpdateLaunchConfigurationRequest$licensing": "

The licensing configuration to be used for this launch configuration.

" + "LaunchConfigurationTemplate$licensing": "

Licensing.

", + "UpdateLaunchConfigurationRequest$licensing": "

The licensing configuration to be used for this launch configuration.

", + "UpdateLaunchConfigurationTemplateRequest$licensing": "

Licensing.

" } }, "LifeCycle": { @@ -802,6 +879,12 @@ "ListExtensibleSourceServersRequest$maxResults": "

The maximum number of extensible source servers to retrieve.

" } }, + "MaxResultsType": { + "base": null, + "refs": { + "DescribeLaunchConfigurationTemplatesRequest$maxResults": "

Maximum results to be returned in DescribeLaunchConfigurationTemplates.

" + } + }, "NetworkInterface": { "base": "

Network interface.

", "refs": { @@ -857,6 +940,8 @@ "DescribeJobLogItemsResponse$nextToken": "

The token of the next Job log items to retrieve.

", "DescribeJobsRequest$nextToken": "

The token of the next Job to retrieve.

", "DescribeJobsResponse$nextToken": "

The token of the next Job to retrieve.

", + "DescribeLaunchConfigurationTemplatesRequest$nextToken": "

The token of the next Launch Configuration Template to retrieve.

", + "DescribeLaunchConfigurationTemplatesResponse$nextToken": "

The token of the next Launch Configuration Template to retrieve.

", "DescribeRecoveryInstancesRequest$nextToken": "

The token of the next Recovery Instance to retrieve.

", "DescribeRecoveryInstancesResponse$nextToken": "

The token of the next Recovery Instance to retrieve.

", "DescribeRecoverySnapshotsRequest$nextToken": "

The token of the next Recovery Snapshot to retrieve.

", @@ -1395,9 +1480,11 @@ "base": null, "refs": { "CreateExtendedSourceServerRequest$tags": "

A list of tags associated with the extended source server.

", + "CreateLaunchConfigurationTemplateRequest$tags": "

Request to associate tags during creation of a Launch Configuration Template.

", "CreateReplicationConfigurationTemplateRequest$stagingAreaTags": "

A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

", "CreateReplicationConfigurationTemplateRequest$tags": "

A set of tags to be associated with the Replication Configuration Template resource.

", "Job$tags": "

A list of tags associated with the Job.

", + "LaunchConfigurationTemplate$tags": "

Tags of the Launch Configuration Template.

", "ListTagsForResourceResponse$tags": "

The tags of the requested resource.

", "RecoveryInstance$tags": "

An array of tags that are associated with the Recovery Instance.

", "ReplicationConfiguration$stagingAreaTags": "

A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

", @@ -1415,8 +1502,11 @@ "TargetInstanceTypeRightSizingMethod": { "base": null, "refs": { + "CreateLaunchConfigurationTemplateRequest$targetInstanceTypeRightSizingMethod": "

Target instance type right-sizing method.

", "LaunchConfiguration$targetInstanceTypeRightSizingMethod": "

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

", - "UpdateLaunchConfigurationRequest$targetInstanceTypeRightSizingMethod": "

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

" + "LaunchConfigurationTemplate$targetInstanceTypeRightSizingMethod": "

Target instance type right-sizing method.

", + "UpdateLaunchConfigurationRequest$targetInstanceTypeRightSizingMethod": "

Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

", + "UpdateLaunchConfigurationTemplateRequest$targetInstanceTypeRightSizingMethod": "

Target instance type right-sizing method.

" } }, "TerminateRecoveryInstancesRequest": { @@ -1454,6 +1544,16 @@ "refs": { } }, + "UpdateLaunchConfigurationTemplateRequest": { + "base": null, + "refs": { + } + }, + "UpdateLaunchConfigurationTemplateResponse": { + "base": null, + "refs": { + } + }, "UpdateReplicationConfigurationRequest": { "base": null, "refs": { diff --git a/models/apis/drs/2020-02-26/endpoint-tests-1.json b/models/apis/drs/2020-02-26/endpoint-tests-1.json index 33d0ad0b7c6..e732b3ca849 100644 --- a/models/apis/drs/2020-02-26/endpoint-tests-1.json +++ b/models/apis/drs/2020-02-26/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "Region": "af-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "af-south-1" + "UseDualStack": false } }, { @@ -21,9 +21,9 @@ } }, "params": { + "Region": "ap-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -47,9 +47,9 @@ } }, "params": { + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { + "Region": "ap-northeast-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-3" + "UseDualStack": false } }, { @@ -73,9 +73,9 @@ } }, "params": { + "Region": "ap-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-south-1" + "UseDualStack": false } }, { @@ -86,9 +86,9 @@ } }, "params": { + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { @@ -99,9 +99,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -112,9 +112,9 @@ } }, "params": { + "Region": "ca-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ca-central-1" + "UseDualStack": false } }, { @@ -125,9 +125,9 @@ } }, "params": { + "Region": "eu-central-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { @@ -151,9 +151,9 @@ } }, "params": { + "Region": "eu-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -177,9 +177,9 @@ } }, "params": { + "Region": "eu-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { @@ -203,9 +203,9 @@ } }, "params": { + "Region": "me-south-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -216,9 +216,9 @@ } }, "params": { + "Region": "sa-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { @@ -229,9 +229,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -242,9 +242,9 @@ } }, "params": { + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "UseDualStack": false } }, { @@ -255,9 +255,9 @@ } }, "params": { + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -268,9 +268,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -281,9 +281,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -294,9 +294,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -307,9 +307,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -320,9 +320,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -333,9 +333,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -346,9 +346,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -359,9 +359,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -372,9 +372,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -385,9 +385,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -398,9 +398,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -411,9 +411,20 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -424,9 +435,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -437,9 +459,20 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -450,9 +483,20 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -463,9 +507,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -476,9 +520,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -501,9 +545,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -513,11 +557,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/drs/2020-02-26/paginators-1.json b/models/apis/drs/2020-02-26/paginators-1.json index d3867f19311..3158e95a566 100644 --- a/models/apis/drs/2020-02-26/paginators-1.json +++ b/models/apis/drs/2020-02-26/paginators-1.json @@ -12,6 +12,12 @@ "limit_key": "maxResults", "result_key": "items" }, + "DescribeLaunchConfigurationTemplates": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, "DescribeRecoveryInstances": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/dynamodb/2012-08-10/docs-2.json b/models/apis/dynamodb/2012-08-10/docs-2.json index 21c64d35fcf..f72e14dfc7e 100644 --- a/models/apis/dynamodb/2012-08-10/docs-2.json +++ b/models/apis/dynamodb/2012-08-10/docs-2.json @@ -3,7 +3,7 @@ "service": "Amazon DynamoDB

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database, so that you don't have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.

With DynamoDB, you can create database tables that can store and retrieve any amount of data, and serve any level of request traffic. You can scale up or scale down your tables' throughput capacity without downtime or performance degradation, and use the Amazon Web Services Management Console to monitor resource utilization and performance metrics.

DynamoDB automatically spreads the data and traffic for your tables over a sufficient number of servers to handle your throughput and storage requirements, while maintaining consistent and fast performance. All of your data is stored on solid state disks (SSDs) and automatically replicated across multiple Availability Zones in an Amazon Web Services Region, providing built-in high availability and data durability.

", "operations": { "BatchExecuteStatement": "

This operation allows you to perform batch reads or writes on data stored in DynamoDB, using PartiQL. Each read statement in a BatchExecuteStatement must specify an equality condition on all key attributes. This enforces that each SELECT statement in a batch returns at most a single item.

The entire batch must consist of either read statements or write statements, you cannot mix both in one batch.

A HTTP 200 response does not mean that all statements in the BatchExecuteStatement succeeded. Error details for individual statements can be found under the Error field of the BatchStatementResponse for each statement.

", - "BatchGetItem": "

The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem returns a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys. You can use this value to retry the operation starting with the next item to get.

If you request more than 100 items, BatchGetItem returns a ValidationException with the message \"Too many items requested for the BatchGetItem call.\"

For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one dataset.

If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem returns a ProvisionedThroughputExceededException. If at least one of the items is successfully processed, then BatchGetItem completes successfully, while returning the keys of the unread items in UnprocessedKeys.

If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.

By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all tables.

In order to minimize response latency, BatchGetItem retrieves items in parallel.

When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression parameter.

If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Working with Tables in the Amazon DynamoDB Developer Guide.

", + "BatchGetItem": "

The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem returns a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys. You can use this value to retry the operation starting with the next item to get.

If you request more than 100 items, BatchGetItem returns a ValidationException with the message \"Too many items requested for the BatchGetItem call.\"

For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one dataset.

If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem returns a ProvisionedThroughputExceededException. If at least one of the items is successfully processed, then BatchGetItem completes successfully, while returning the keys of the unread items in UnprocessedKeys.

If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.

By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all tables.

In order to minimize response latency, BatchGetItem may retrieve items in parallel.

When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression parameter.

If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Working with Tables in the Amazon DynamoDB Developer Guide.

", "BatchWriteItem": "

The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types.

BatchWriteItem cannot update items. If you perform a BatchWriteItem operation on an existing item, that item's values will be overwritten by the operation and it will appear like it was updated. To update items, we recommend you use the UpdateItem action.

The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed.

If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException.

If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.

With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response.

If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application.

Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.

If one or more of the following is true, DynamoDB rejects the entire batch write operation:

", "CreateBackup": "

Creates a backup for an existing table.

Each time you create an on-demand backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken.

When you create an on-demand backup, a time marker of the request is cataloged, and the backup is created asynchronously, by applying all changes until the time of the request to the last full table snapshot. Backup requests are processed instantaneously and become available for restore within minutes.

You can call CreateBackup at a maximum rate of 50 times per second.

All backups in DynamoDB work without consuming any provisioned throughput on the table.

If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to contain all data committed to the table up to 14:24:00, and data committed after 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 and 14:26:00. On-demand backup does not support causal consistency.

Along with data, the following are also included on the backups:

", "CreateGlobalTable": "

Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions.

This operation only applies to Version 2017.11.29 (Legacy) of global tables. We recommend using Version 2019.11.21 (Current) when creating new global tables, as it provides greater flexibility, higher efficiency and consumes less write capacity than 2017.11.29 (Legacy). To determine which version you are using, see Determining the version. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Updating global tables.

If you want to add a new replica table to a global table, each of the following conditions must be true:

If global secondary indexes are specified, then the following conditions must also be met:

If local secondary indexes are specified, then the following conditions must also be met:

Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes.

If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.

", @@ -40,7 +40,7 @@ "ListTagsOfResource": "

List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

", "PutItem": "

Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter.

When you add an item, the primary key attributes are the only required attributes.

Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. Set type attributes cannot be empty.

Invalid Requests with empty values will be rejected with a ValidationException exception.

To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists function will only succeed if no matching item exists.

For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.

", "Query": "

You must provide the name of the partition key attribute and a single value for that attribute. Query returns all items with that partition key value. Optionally, you can provide a sort key attribute and use a comparison operator to refine the search results.

Use the KeyConditionExpression parameter to provide a specific value for the partition key. The Query operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the Query operation by specifying a sort key value and a comparison operator in KeyConditionExpression. To further refine the Query results, you can optionally provide a FilterExpression. A FilterExpression determines which items within the results should be returned to you. All of the other results are discarded.

A Query operation always returns a result set. If no matching items are found, the result set will be empty. Queries that do not return results consume the minimum number of read capacity units for that type of read operation.

DynamoDB calculates the number of read capacity units consumed based on item size, not on the amount of data that is returned to an application. The number of capacity units consumed will be the same whether you request all of the attributes (the default behavior) or just some of them (using a projection expression). The number will also be the same whether or not you use a FilterExpression.

Query results are always sorted by the sort key value. If the data type of the sort key is Number, the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. By default, the sort order is ascending. To reverse the order, set the ScanIndexForward parameter to false.

A single Query operation will read up to the maximum number of items set (if using the Limit parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression. If LastEvaluatedKey is present in the response, you will need to paginate the result set. For more information, see Paginating the Results in the Amazon DynamoDB Developer Guide.

FilterExpression is applied after a Query finishes, but before the results are returned. A FilterExpression cannot contain partition key or sort key attributes. You need to specify those attributes in the KeyConditionExpression.

A Query operation can return an empty result set and a LastEvaluatedKey if all the items read for the page of results are filtered out.

You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the ConsistentRead parameter to true and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify ConsistentRead when querying a global secondary index.

", - "RestoreTableFromBackup": "

Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.

You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

You must manually set up the following on the restored table:

", + "RestoreTableFromBackup": "

Creates a new table from an existing backup. Any number of users can execute up to 50 concurrent restores (any type of restore) in a given account.

You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

You must manually set up the following on the restored table:

", "RestoreTableToPointInTime": "

Restores the specified table to the specified point in time within EarliestRestorableDateTime and LatestRestorableDateTime. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.

When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table.

Along with data, the following are also included on the new restored table using point in time recovery:

You must manually set up the following on the restored table:

", "Scan": "

The Scan operation returns one or more items and item attributes by accessing every item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation.

If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the scan stops and results are returned to the user as a LastEvaluatedKey value to continue the scan in a subsequent operation. The results also include the number of items exceeding the limit. A scan can result in no table data meeting the filter criteria.

A single Scan operation reads up to the maximum number of items set (if using the Limit parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression. If LastEvaluatedKey is present in the response, you need to paginate the result set. For more information, see Paginating the Results in the Amazon DynamoDB Developer Guide.

Scan operations proceed sequentially; however, for faster performance on a large table or secondary index, applications can request a parallel Scan operation by providing the Segment and TotalSegments parameters. For more information, see Parallel Scan in the Amazon DynamoDB Developer Guide.

Scan uses eventually consistent reads when accessing the data in a table; therefore, the result set might not include the changes to data in the table immediately before the operation began. If you need a consistent copy of the data, as of the time that the Scan begins, you can set the ConsistentRead parameter to true.

", "TagResource": "

Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to five times per second, per account.

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

", diff --git a/models/apis/dynamodb/2012-08-10/endpoint-tests-1.json b/models/apis/dynamodb/2012-08-10/endpoint-tests-1.json index 23c1d4d1f5a..66351adfbb7 100644 --- a/models/apis/dynamodb/2012-08-10/endpoint-tests-1.json +++ b/models/apis/dynamodb/2012-08-10/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -22,8 +22,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -48,8 +48,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -74,8 +74,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -100,8 +100,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -113,8 +113,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -126,8 +126,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -152,8 +152,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -178,8 +178,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -204,8 +204,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -217,8 +217,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -239,8 +239,8 @@ }, "params": { "Region": "local", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -252,8 +252,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -265,8 +265,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -278,8 +278,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -291,8 +291,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -304,8 +304,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -317,8 +317,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -330,8 +330,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -343,8 +343,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -356,8 +356,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -369,8 +369,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -382,8 +382,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -395,8 +395,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -408,8 +408,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -421,8 +421,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -434,8 +434,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -447,8 +447,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -460,8 +460,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -473,8 +473,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -486,8 +486,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -499,8 +499,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -512,8 +512,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -525,8 +525,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -538,8 +538,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -551,8 +551,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -564,8 +564,19 @@ }, "params": { "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -577,8 +588,19 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -590,8 +612,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { @@ -603,8 +636,19 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { @@ -616,8 +660,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -629,8 +673,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -641,8 +685,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -653,10 +697,16 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/emr-serverless/2021-07-13/api-2.json b/models/apis/emr-serverless/2021-07-13/api-2.json index 9b9ef9fc6b1..c350562adfe 100644 --- a/models/apis/emr-serverless/2021-07-13/api-2.json +++ b/models/apis/emr-serverless/2021-07-13/api-2.json @@ -749,7 +749,8 @@ "executionTimeoutMinutes":{ "shape":"Duration", "box":true - } + }, + "billedResourceUtilization":{"shape":"ResourceUtilization"} } }, "JobRunId":{ @@ -994,6 +995,14 @@ }, "exception":true }, + "ResourceUtilization":{ + "type":"structure", + "members":{ + "vCPUHour":{"shape":"Double"}, + "memoryGBHour":{"shape":"Double"}, + "storageGBHour":{"shape":"Double"} + } + }, "S3MonitoringConfiguration":{ "type":"structure", "members":{ diff --git a/models/apis/emr-serverless/2021-07-13/docs-2.json b/models/apis/emr-serverless/2021-07-13/docs-2.json index 18619b50c24..227abb5eaf9 100644 --- a/models/apis/emr-serverless/2021-07-13/docs-2.json +++ b/models/apis/emr-serverless/2021-07-13/docs-2.json @@ -6,7 +6,7 @@ "CreateApplication": "

Creates an application.

", "DeleteApplication": "

Deletes an application. An application has to be in a stopped or created state in order to be deleted.

", "GetApplication": "

Displays detailed information about a specified application.

", - "GetDashboardForJobRun": "

Returns a URL to access the job run dashboard.

", + "GetDashboardForJobRun": "

Returns a URL to access the job run dashboard. The generated URL is valid for one hour, after which you must invoke the API again to generate a new URL.

", "GetJobRun": "

Displays detailed information about a job run.

", "ListApplications": "

Lists applications based on a set of parameters.

", "ListJobRuns": "

Lists job runs based on a set of parameters.

", @@ -225,6 +225,9 @@ "Double": { "base": null, "refs": { + "ResourceUtilization$vCPUHour": "

The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.

", + "ResourceUtilization$memoryGBHour": "

The aggregated memory used per hour from the time the job starts executing until the job is terminated.

", + "ResourceUtilization$storageGBHour": "

The aggregated storage used per hour from the time the job starts executing until the job is terminated.

", "TotalResourceUtilization$vCPUHour": "

The aggregated vCPU used per hour from the time job start executing till the time job is terminated.

", "TotalResourceUtilization$memoryGBHour": "

The aggregated memory used per hour from the time job start executing till the time job is terminated.

", "TotalResourceUtilization$storageGBHour": "

The aggregated storage used per hour from the time job start executing till the time job is terminated.

" @@ -233,7 +236,7 @@ "Duration": { "base": null, "refs": { - "JobRun$executionTimeoutMinutes": "

Maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

", + "JobRun$executionTimeoutMinutes": "

Returns the job run timeout value from the StartJobRun call. If no timeout was specified, then it returns the default timeout of 720 minutes.

", "StartJobRunRequest$executionTimeoutMinutes": "

The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

" } }, @@ -336,13 +339,13 @@ } }, "ImageDigest": { - "base": "

Image Digest

", + "base": null, "refs": { "ImageConfiguration$resolvedImageDigest": "

The SHA256 digest of the image URI. This indicates which specific image the application is configured for. The image digest doesn't exist until an application has started.

" } }, "ImageUri": { - "base": "

Image URI

", + "base": null, "refs": { "ImageConfiguration$imageUri": "

The image URI.

", "ImageConfigurationInput$imageUri": "

The URI of an image in the Amazon ECR registry. This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.

" @@ -567,6 +570,12 @@ "refs": { } }, + "ResourceUtilization": { + "base": "

The resource utilization for memory, storage, and vCPU for jobs.

", + "refs": { + "JobRun$billedResourceUtilization": "

The aggregate vCPU, memory, and storage that AWS has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.

" + } + }, "S3MonitoringConfiguration": { "base": "

The Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.

", "refs": { @@ -718,7 +727,7 @@ "TotalResourceUtilization": { "base": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.

", "refs": { - "JobRun$totalResourceUtilization": "

The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.

" + "JobRun$totalResourceUtilization": "

The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.

" } }, "UntagResourceRequest": { diff --git a/models/apis/emr-serverless/2021-07-13/endpoint-tests-1.json b/models/apis/emr-serverless/2021-07-13/endpoint-tests-1.json index a339017f714..cb9ee7ac4d8 100644 --- a/models/apis/emr-serverless/2021-07-13/endpoint-tests-1.json +++ b/models/apis/emr-serverless/2021-07-13/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -22,8 +22,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -48,8 +48,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -74,8 +74,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -100,8 +100,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -113,8 +113,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -126,8 +126,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -152,8 +152,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -178,8 +178,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -204,8 +204,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -215,8 +215,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -228,8 +228,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -239,8 +239,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -252,8 +252,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -263,8 +263,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -276,8 +276,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -287,8 +287,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -300,8 +300,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -313,8 +313,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -326,8 +326,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -338,8 +338,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -350,8 +350,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } }, diff --git a/models/apis/internetmonitor/2021-06-03/api-2.json b/models/apis/internetmonitor/2021-06-03/api-2.json index 8e8614a0469..e841da9af4f 100644 --- a/models/apis/internetmonitor/2021-06-03/api-2.json +++ b/models/apis/internetmonitor/2021-06-03/api-2.json @@ -235,10 +235,7 @@ }, "CreateMonitorInput":{ "type":"structure", - "required":[ - "MonitorName", - "MaxCityNetworksToMonitor" - ], + "required":["MonitorName"], "members":{ "MonitorName":{"shape":"ResourceName"}, "Resources":{"shape":"SetOfARNs"}, @@ -248,7 +245,8 @@ }, "Tags":{"shape":"TagMap"}, "MaxCityNetworksToMonitor":{"shape":"MaxCityNetworksToMonitor"}, - "InternetMeasurementsLogDelivery":{"shape":"InternetMeasurementsLogDelivery"} + "InternetMeasurementsLogDelivery":{"shape":"InternetMeasurementsLogDelivery"}, + "TrafficPercentageToMonitor":{"shape":"TrafficPercentageToMonitor"} } }, "CreateMonitorOutput":{ @@ -344,8 +342,7 @@ "Resources", "Status", "CreatedAt", - "ModifiedAt", - "MaxCityNetworksToMonitor" + "ModifiedAt" ], "members":{ "MonitorName":{"shape":"ResourceName"}, @@ -358,7 +355,8 @@ "ProcessingStatusInfo":{"shape":"String"}, "Tags":{"shape":"TagMap"}, "MaxCityNetworksToMonitor":{"shape":"MaxCityNetworksToMonitor"}, - "InternetMeasurementsLogDelivery":{"shape":"InternetMeasurementsLogDelivery"} + "InternetMeasurementsLogDelivery":{"shape":"InternetMeasurementsLogDelivery"}, + "TrafficPercentageToMonitor":{"shape":"TrafficPercentageToMonitor"} } }, "HealthEvent":{ @@ -797,6 +795,11 @@ "exception":true, "retryable":{"throttling":true} }, + "TrafficPercentageToMonitor":{ + "type":"integer", + "max":100, + "min":1 + }, "TriangulationEventType":{ "type":"string", "enum":[ @@ -845,7 +848,8 @@ "idempotencyToken":true }, "MaxCityNetworksToMonitor":{"shape":"MaxCityNetworksToMonitor"}, - "InternetMeasurementsLogDelivery":{"shape":"InternetMeasurementsLogDelivery"} + "InternetMeasurementsLogDelivery":{"shape":"InternetMeasurementsLogDelivery"}, + "TrafficPercentageToMonitor":{"shape":"TrafficPercentageToMonitor"} } }, "UpdateMonitorOutput":{ diff --git a/models/apis/internetmonitor/2021-06-03/docs-2.json b/models/apis/internetmonitor/2021-06-03/docs-2.json index e4b240b25a4..17ad6a3f7e2 100644 --- a/models/apis/internetmonitor/2021-06-03/docs-2.json +++ b/models/apis/internetmonitor/2021-06-03/docs-2.json @@ -167,9 +167,9 @@ } }, "InternetMeasurementsLogDelivery": { - "base": "

Configuration information for other locations that you choose to publish Amazon CloudWatch Internet Monitor internet measurements to, such as Amazon S3. The measurements are also published to Amazon CloudWatch Logs.

", + "base": "

Publish internet measurements to an Amazon S3 bucket in addition to CloudWatch Logs.

", "refs": { - "CreateMonitorInput$InternetMeasurementsLogDelivery": "

Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.

", + "CreateMonitorInput$InternetMeasurementsLogDelivery": "

Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.

", "GetMonitorOutput$InternetMeasurementsLogDelivery": "

Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.

", "UpdateMonitorInput$InternetMeasurementsLogDelivery": "

Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.

" } @@ -452,6 +452,14 @@ "refs": { } }, + "TrafficPercentageToMonitor": { + "base": null, + "refs": { + "CreateMonitorInput$TrafficPercentageToMonitor": "

The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.

", + "GetMonitorOutput$TrafficPercentageToMonitor": "

The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.

", + "UpdateMonitorInput$TrafficPercentageToMonitor": "

The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.

" + } + }, "TriangulationEventType": { "base": null, "refs": { diff --git a/models/apis/iotwireless/2020-11-22/api-2.json b/models/apis/iotwireless/2020-11-22/api-2.json index 3c6c1d42bf2..5e6a9458a9a 100644 --- a/models/apis/iotwireless/2020-11-22/api-2.json +++ b/models/apis/iotwireless/2020-11-22/api-2.json @@ -3334,6 +3334,11 @@ "DownlinkFrequency":{"shape":"DownlinkFrequency"} } }, + "GatewayMaxEirp":{ + "type":"float", + "max":30, + "min":0 + }, "GenAppKey":{ "type":"string", "pattern":"[a-fA-F0-9]{32}" @@ -4686,7 +4691,8 @@ "JoinEuiFilters":{"shape":"JoinEuiFilters"}, "NetIdFilters":{"shape":"NetIdFilters"}, "SubBands":{"shape":"SubBands"}, - "Beaconing":{"shape":"Beaconing"} + "Beaconing":{"shape":"Beaconing"}, + "MaxEirp":{"shape":"GatewayMaxEirp"} } }, "LoRaWANGatewayCurrentVersion":{ @@ -4785,7 +4791,8 @@ "DlDr":{"shape":"DlDr"}, "DlFreq":{"shape":"DlFreq"}, "SessionStartTime":{"shape":"SessionStartTimeTimestamp"}, - "SessionTimeout":{"shape":"SessionTimeout"} + "SessionTimeout":{"shape":"SessionTimeout"}, + "PingSlotPeriod":{"shape":"PingSlotPeriod"} } }, "LoRaWANSendDataToDevice":{ @@ -4800,7 +4807,9 @@ "members":{ "AddGwMetadata":{"shape":"AddGwMetadata"}, "DrMin":{"shape":"DrMinBox"}, - "DrMax":{"shape":"DrMaxBox"} + "DrMax":{"shape":"DrMaxBox"}, + "PrAllowed":{"shape":"PrAllowed"}, + "RaAllowed":{"shape":"RaAllowed"} } }, "LoRaWANStartFuotaTask":{ @@ -5183,7 +5192,7 @@ "PingSlotPeriod":{ "type":"integer", "max":4096, - "min":128 + "min":32 }, "PnOffset":{ "type":"integer", @@ -6450,7 +6459,8 @@ "Name":{"shape":"WirelessGatewayName"}, "Description":{"shape":"Description"}, "JoinEuiFilters":{"shape":"JoinEuiFilters"}, - "NetIdFilters":{"shape":"NetIdFilters"} + "NetIdFilters":{"shape":"NetIdFilters"}, + "MaxEirp":{"shape":"GatewayMaxEirp"} } }, "UpdateWirelessGatewayResponse":{ diff --git a/models/apis/iotwireless/2020-11-22/docs-2.json b/models/apis/iotwireless/2020-11-22/docs-2.json index 4e4a6e9d59b..47448cf4ef7 100644 --- a/models/apis/iotwireless/2020-11-22/docs-2.json +++ b/models/apis/iotwireless/2020-11-22/docs-2.json @@ -1424,6 +1424,13 @@ "GatewayList$member": null } }, + "GatewayMaxEirp": { + "base": null, + "refs": { + "LoRaWANGateway$MaxEirp": "

The MaxEIRP value.

", + "UpdateWirelessGatewayRequest$MaxEirp": "

The MaxEIRP value.

" + } + }, "GenAppKey": { "base": null, "refs": { @@ -2795,7 +2802,8 @@ "PingSlotPeriod": { "base": null, "refs": { - "LoRaWANDeviceProfile$PingSlotPeriod": "

The PingSlotPeriod value.

" + "LoRaWANDeviceProfile$PingSlotPeriod": "

The PingSlotPeriod value.

", + "LoRaWANMulticastSession$PingSlotPeriod": "

The PingSlotPeriod value.

" } }, "PnOffset": { @@ -2920,7 +2928,8 @@ "PrAllowed": { "base": null, "refs": { - "LoRaWANGetServiceProfileInfo$PrAllowed": "

The PRAllowed value that describes whether passive roaming is allowed.

" + "LoRaWANGetServiceProfileInfo$PrAllowed": "

The PRAllowed value that describes whether passive roaming is allowed.

", + "LoRaWANServiceProfile$PrAllowed": "

The PRAllowed value that describes whether passive roaming is allowed.

" } }, "PresetFreq": { @@ -3015,7 +3024,8 @@ "RaAllowed": { "base": null, "refs": { - "LoRaWANGetServiceProfileInfo$RaAllowed": "

The RAAllowed value that describes whether roaming activation is allowed.

" + "LoRaWANGetServiceProfileInfo$RaAllowed": "

The RAAllowed value that describes whether roaming activation is allowed.

", + "LoRaWANServiceProfile$RaAllowed": "

The RAAllowed value that describes whether roaming activation is allowed.

" } }, "RedundancyPercent": { diff --git a/models/apis/iotwireless/2020-11-22/endpoint-tests-1.json b/models/apis/iotwireless/2020-11-22/endpoint-tests-1.json index a84cdd7cfdc..af418ec28d0 100644 --- a/models/apis/iotwireless/2020-11-22/endpoint-tests-1.json +++ b/models/apis/iotwireless/2020-11-22/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { + "Region": "ap-northeast-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { @@ -21,9 +21,9 @@ } }, "params": { + "Region": "ap-southeast-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "ap-southeast-2" + "UseDualStack": false } }, { @@ -34,9 +34,9 @@ } }, "params": { + "Region": "eu-west-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { @@ -47,9 +47,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -60,9 +60,9 @@ } }, "params": { + "Region": "us-west-2", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -73,9 +73,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -86,9 +86,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-east-1" + "UseDualStack": false } }, { @@ -99,9 +99,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" + "UseDualStack": true } }, { @@ -112,9 +112,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -125,9 +125,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -138,9 +138,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { @@ -151,9 +151,9 @@ } }, "params": { + "Region": "cn-north-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { @@ -164,9 +164,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -177,9 +177,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -190,9 +190,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -203,9 +203,9 @@ } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -214,9 +214,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -227,9 +227,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -238,9 +238,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-iso-east-1" + "UseDualStack": true } }, { @@ -251,9 +251,9 @@ } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { @@ -262,9 +262,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -275,9 +275,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": true, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -286,9 +286,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { @@ -299,9 +299,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { @@ -312,9 +312,9 @@ } }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -337,9 +337,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -349,9 +349,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, diff --git a/models/apis/lambda/2015-03-31/api-2.json b/models/apis/lambda/2015-03-31/api-2.json index 017861b256e..661e79d9dbb 100644 --- a/models/apis/lambda/2015-03-31/api-2.json +++ b/models/apis/lambda/2015-03-31/api-2.json @@ -3847,7 +3847,8 @@ "ruby2.7", "provided", "provided.al2", - "nodejs18.x" + "nodejs18.x", + "python3.10" ] }, "RuntimeVersionArn":{ diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 0572c2362dd..75b07320f07 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1835,15 +1835,19 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -14687,6 +14691,7 @@ "deprecated" : true, "hostname" : "snowball-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "sa-east-1" : { "variants" : [ { "hostname" : "snowball-fips.sa-east-1.amazonaws.com", diff --git a/service/appflow/api.go b/service/appflow/api.go index f158c24624d..ea4bd06ea0d 100644 --- a/service/appflow/api.go +++ b/service/appflow/api.go @@ -5083,6 +5083,21 @@ func (s *ConnectorServerException) RequestID() string { type CreateConnectorProfileInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your CreateConnectorProfile + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs. If you use a different value for clientToken, Amazon AppFlow considers + // it a new call to CreateConnectorProfile. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // Indicates the connection mode and specifies whether it is public or private. // Private flows use Amazon Web Services PrivateLink to route data over Amazon // Web Services infrastructure without exposing it to the public internet. @@ -5139,6 +5154,9 @@ func (s CreateConnectorProfileInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateConnectorProfileInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateConnectorProfileInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.ConnectionMode == nil { invalidParams.Add(request.NewErrParamRequired("ConnectionMode")) } @@ -5166,6 +5184,12 @@ func (s *CreateConnectorProfileInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *CreateConnectorProfileInput) SetClientToken(v string) *CreateConnectorProfileInput { + s.ClientToken = &v + return s +} + // SetConnectionMode sets the ConnectionMode field's value. func (s *CreateConnectorProfileInput) SetConnectionMode(v string) *CreateConnectorProfileInput { s.ConnectionMode = &v @@ -5236,6 +5260,21 @@ func (s *CreateConnectorProfileOutput) SetConnectorProfileArn(v string) *CreateC type CreateFlowInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your CreateFlow + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs. If you use a different value for clientToken, Amazon AppFlow considers + // it a new call to CreateFlow. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // A description of the flow you want to create. Description *string `locationName:"description" type:"string"` @@ -5304,6 +5343,9 @@ func (s CreateFlowInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateFlowInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateFlowInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.DestinationFlowConfigList == nil { invalidParams.Add(request.NewErrParamRequired("DestinationFlowConfigList")) } @@ -5364,6 +5406,12 @@ func (s *CreateFlowInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *CreateFlowInput) SetClientToken(v string) *CreateFlowInput { + s.ClientToken = &v + return s +} + // SetDescription sets the Description field's value. func (s *CreateFlowInput) SetDescription(v string) *CreateFlowInput { s.Description = &v @@ -11099,6 +11147,21 @@ func (s RedshiftMetadata) GoString() string { type RegisterConnectorInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your RegisterConnector + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs. If you use a different value for clientToken, Amazon AppFlow considers + // it a new call to RegisterConnector. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // The name of the connector. The name is unique for each ConnectorRegistration // in your Amazon Web Services account. ConnectorLabel *string `locationName:"connectorLabel" type:"string"` @@ -11136,6 +11199,9 @@ func (s RegisterConnectorInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *RegisterConnectorInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RegisterConnectorInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.ConnectorProvisioningConfig != nil { if err := s.ConnectorProvisioningConfig.Validate(); err != nil { invalidParams.AddNested("ConnectorProvisioningConfig", err.(request.ErrInvalidParams)) @@ -11148,6 +11214,12 @@ func (s *RegisterConnectorInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *RegisterConnectorInput) SetClientToken(v string) *RegisterConnectorInput { + s.ClientToken = &v + return s +} + // SetConnectorLabel sets the ConnectorLabel field's value. func (s *RegisterConnectorInput) SetConnectorLabel(v string) *RegisterConnectorInput { s.ConnectorLabel = &v @@ -13858,6 +13930,25 @@ func (s *SourceFlowConfig) SetSourceConnectorProperties(v *SourceConnectorProper type StartFlowInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your StartFlow + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs for flows that run on a schedule or based on an event. However, the + // error doesn't occur for flows that run on demand. You set the conditions + // that initiate your flow for the triggerConfig parameter. + // + // If you use a different value for clientToken, Amazon AppFlow considers it + // a new call to StartFlow. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // The specified name of the flow. Spaces are not allowed. Use underscores (_) // or hyphens (-) only. // @@ -13886,6 +13977,9 @@ func (s StartFlowInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *StartFlowInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StartFlowInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.FlowName == nil { invalidParams.Add(request.NewErrParamRequired("FlowName")) } @@ -13896,6 +13990,12 @@ func (s *StartFlowInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *StartFlowInput) SetClientToken(v string) *StartFlowInput { + s.ClientToken = &v + return s +} + // SetFlowName sets the FlowName field's value. func (s *StartFlowInput) SetFlowName(v string) *StartFlowInput { s.FlowName = &v @@ -14863,6 +14963,21 @@ func (s UntagResourceOutput) GoString() string { type UpdateConnectorProfileInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorProfile + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs. If you use a different value for clientToken, Amazon AppFlow considers + // it a new call to UpdateConnectorProfile. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // Indicates the connection mode and if it is public or private. // // ConnectionMode is a required field @@ -14901,6 +15016,9 @@ func (s UpdateConnectorProfileInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateConnectorProfileInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateConnectorProfileInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.ConnectionMode == nil { invalidParams.Add(request.NewErrParamRequired("ConnectionMode")) } @@ -14922,6 +15040,12 @@ func (s *UpdateConnectorProfileInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *UpdateConnectorProfileInput) SetClientToken(v string) *UpdateConnectorProfileInput { + s.ClientToken = &v + return s +} + // SetConnectionMode sets the ConnectionMode field's value. func (s *UpdateConnectorProfileInput) SetConnectionMode(v string) *UpdateConnectorProfileInput { s.ConnectionMode = &v @@ -14974,6 +15098,21 @@ func (s *UpdateConnectorProfileOutput) SetConnectorProfileArn(v string) *UpdateC type UpdateConnectorRegistrationInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your UpdateConnectorRegistration + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs. If you use a different value for clientToken, Amazon AppFlow considers + // it a new call to UpdateConnectorRegistration. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // The name of the connector. The name is unique for each connector registration // in your AWS account. // @@ -15008,6 +15147,9 @@ func (s UpdateConnectorRegistrationInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateConnectorRegistrationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateConnectorRegistrationInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.ConnectorLabel == nil { invalidParams.Add(request.NewErrParamRequired("ConnectorLabel")) } @@ -15023,6 +15165,12 @@ func (s *UpdateConnectorRegistrationInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *UpdateConnectorRegistrationInput) SetClientToken(v string) *UpdateConnectorRegistrationInput { + s.ClientToken = &v + return s +} + // SetConnectorLabel sets the ConnectorLabel field's value. func (s *UpdateConnectorRegistrationInput) SetConnectorLabel(v string) *UpdateConnectorRegistrationInput { s.ConnectorLabel = &v @@ -15075,6 +15223,21 @@ func (s *UpdateConnectorRegistrationOutput) SetConnectorArn(v string) *UpdateCon type UpdateFlowInput struct { _ struct{} `type:"structure"` + // The clientToken parameter is an idempotency token. It ensures that your UpdateFlow + // request completes only once. You choose the value to pass. For example, if + // you don't receive a response from your request, you can safely retry the + // request with the same clientToken parameter value. + // + // If you omit a clientToken value, the Amazon Web Services SDK that you are + // using inserts a value for you. This way, the SDK can safely retry requests + // multiple times after a network error. You must provide your own value for + // other use cases. + // + // If you specify input parameters that differ from your first request, an error + // occurs. If you use a different value for clientToken, Amazon AppFlow considers + // it a new call to UpdateFlow. The token is active for 8 hours. + ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` + // A description of the flow. Description *string `locationName:"description" type:"string"` @@ -15134,6 +15297,9 @@ func (s UpdateFlowInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateFlowInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateFlowInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } if s.DestinationFlowConfigList == nil { invalidParams.Add(request.NewErrParamRequired("DestinationFlowConfigList")) } @@ -15191,6 +15357,12 @@ func (s *UpdateFlowInput) Validate() error { return nil } +// SetClientToken sets the ClientToken field's value. +func (s *UpdateFlowInput) SetClientToken(v string) *UpdateFlowInput { + s.ClientToken = &v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateFlowInput) SetDescription(v string) *UpdateFlowInput { s.Description = &v diff --git a/service/drs/api.go b/service/drs/api.go index 2d1fd1e7215..c0d07f2b7cf 100644 --- a/service/drs/api.go +++ b/service/drs/api.go @@ -111,6 +111,101 @@ func (c *Drs) CreateExtendedSourceServerWithContext(ctx aws.Context, input *Crea return out, req.Send() } +const opCreateLaunchConfigurationTemplate = "CreateLaunchConfigurationTemplate" + +// CreateLaunchConfigurationTemplateRequest generates a "aws/request.Request" representing the +// client's request for the CreateLaunchConfigurationTemplate 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 CreateLaunchConfigurationTemplate for more information on using the CreateLaunchConfigurationTemplate +// 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 CreateLaunchConfigurationTemplateRequest method. +// req, resp := client.CreateLaunchConfigurationTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateLaunchConfigurationTemplate +func (c *Drs) CreateLaunchConfigurationTemplateRequest(input *CreateLaunchConfigurationTemplateInput) (req *request.Request, output *CreateLaunchConfigurationTemplateOutput) { + op := &request.Operation{ + Name: opCreateLaunchConfigurationTemplate, + HTTPMethod: "POST", + HTTPPath: "/CreateLaunchConfigurationTemplate", + } + + if input == nil { + input = &CreateLaunchConfigurationTemplateInput{} + } + + output = &CreateLaunchConfigurationTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateLaunchConfigurationTemplate API operation for Elastic Disaster Recovery Service. +// +// Creates a new Launch Configuration Template. +// +// 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 Elastic Disaster Recovery Service's +// API operation CreateLaunchConfigurationTemplate for usage and error information. +// +// Returned Error Types: +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateLaunchConfigurationTemplate +func (c *Drs) CreateLaunchConfigurationTemplate(input *CreateLaunchConfigurationTemplateInput) (*CreateLaunchConfigurationTemplateOutput, error) { + req, out := c.CreateLaunchConfigurationTemplateRequest(input) + return out, req.Send() +} + +// CreateLaunchConfigurationTemplateWithContext is the same as CreateLaunchConfigurationTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See CreateLaunchConfigurationTemplate 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 *Drs) CreateLaunchConfigurationTemplateWithContext(ctx aws.Context, input *CreateLaunchConfigurationTemplateInput, opts ...request.Option) (*CreateLaunchConfigurationTemplateOutput, error) { + req, out := c.CreateLaunchConfigurationTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateReplicationConfigurationTemplate = "CreateReplicationConfigurationTemplate" // CreateReplicationConfigurationTemplateRequest generates a "aws/request.Request" representing the @@ -300,6 +395,100 @@ func (c *Drs) DeleteJobWithContext(ctx aws.Context, input *DeleteJobInput, opts return out, req.Send() } +const opDeleteLaunchConfigurationTemplate = "DeleteLaunchConfigurationTemplate" + +// DeleteLaunchConfigurationTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteLaunchConfigurationTemplate 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 DeleteLaunchConfigurationTemplate for more information on using the DeleteLaunchConfigurationTemplate +// 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 DeleteLaunchConfigurationTemplateRequest method. +// req, resp := client.DeleteLaunchConfigurationTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchConfigurationTemplate +func (c *Drs) DeleteLaunchConfigurationTemplateRequest(input *DeleteLaunchConfigurationTemplateInput) (req *request.Request, output *DeleteLaunchConfigurationTemplateOutput) { + op := &request.Operation{ + Name: opDeleteLaunchConfigurationTemplate, + HTTPMethod: "POST", + HTTPPath: "/DeleteLaunchConfigurationTemplate", + } + + if input == nil { + input = &DeleteLaunchConfigurationTemplateInput{} + } + + output = &DeleteLaunchConfigurationTemplateOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteLaunchConfigurationTemplate API operation for Elastic Disaster Recovery Service. +// +// Deletes a single Launch Configuration Template by ID. +// +// 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 Elastic Disaster Recovery Service's +// API operation DeleteLaunchConfigurationTemplate for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchConfigurationTemplate +func (c *Drs) DeleteLaunchConfigurationTemplate(input *DeleteLaunchConfigurationTemplateInput) (*DeleteLaunchConfigurationTemplateOutput, error) { + req, out := c.DeleteLaunchConfigurationTemplateRequest(input) + return out, req.Send() +} + +// DeleteLaunchConfigurationTemplateWithContext is the same as DeleteLaunchConfigurationTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteLaunchConfigurationTemplate 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 *Drs) DeleteLaunchConfigurationTemplateWithContext(ctx aws.Context, input *DeleteLaunchConfigurationTemplateInput, opts ...request.Option) (*DeleteLaunchConfigurationTemplateOutput, error) { + req, out := c.DeleteLaunchConfigurationTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteRecoveryInstance = "DeleteRecoveryInstance" // DeleteRecoveryInstanceRequest generates a "aws/request.Request" representing the @@ -882,6 +1071,156 @@ func (c *Drs) DescribeJobsPagesWithContext(ctx aws.Context, input *DescribeJobsI return p.Err() } +const opDescribeLaunchConfigurationTemplates = "DescribeLaunchConfigurationTemplates" + +// DescribeLaunchConfigurationTemplatesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeLaunchConfigurationTemplates 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 DescribeLaunchConfigurationTemplates for more information on using the DescribeLaunchConfigurationTemplates +// 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 DescribeLaunchConfigurationTemplatesRequest method. +// req, resp := client.DescribeLaunchConfigurationTemplatesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeLaunchConfigurationTemplates +func (c *Drs) DescribeLaunchConfigurationTemplatesRequest(input *DescribeLaunchConfigurationTemplatesInput) (req *request.Request, output *DescribeLaunchConfigurationTemplatesOutput) { + op := &request.Operation{ + Name: opDescribeLaunchConfigurationTemplates, + HTTPMethod: "POST", + HTTPPath: "/DescribeLaunchConfigurationTemplates", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeLaunchConfigurationTemplatesInput{} + } + + output = &DescribeLaunchConfigurationTemplatesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeLaunchConfigurationTemplates API operation for Elastic Disaster Recovery Service. +// +// Lists all Launch Configuration Templates, filtered by Launch Configuration +// Template IDs +// +// 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 Elastic Disaster Recovery Service's +// API operation DescribeLaunchConfigurationTemplates for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeLaunchConfigurationTemplates +func (c *Drs) DescribeLaunchConfigurationTemplates(input *DescribeLaunchConfigurationTemplatesInput) (*DescribeLaunchConfigurationTemplatesOutput, error) { + req, out := c.DescribeLaunchConfigurationTemplatesRequest(input) + return out, req.Send() +} + +// DescribeLaunchConfigurationTemplatesWithContext is the same as DescribeLaunchConfigurationTemplates with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeLaunchConfigurationTemplates 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 *Drs) DescribeLaunchConfigurationTemplatesWithContext(ctx aws.Context, input *DescribeLaunchConfigurationTemplatesInput, opts ...request.Option) (*DescribeLaunchConfigurationTemplatesOutput, error) { + req, out := c.DescribeLaunchConfigurationTemplatesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeLaunchConfigurationTemplatesPages iterates over the pages of a DescribeLaunchConfigurationTemplates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeLaunchConfigurationTemplates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeLaunchConfigurationTemplates operation. +// pageNum := 0 +// err := client.DescribeLaunchConfigurationTemplatesPages(params, +// func(page *drs.DescribeLaunchConfigurationTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Drs) DescribeLaunchConfigurationTemplatesPages(input *DescribeLaunchConfigurationTemplatesInput, fn func(*DescribeLaunchConfigurationTemplatesOutput, bool) bool) error { + return c.DescribeLaunchConfigurationTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeLaunchConfigurationTemplatesPagesWithContext same as DescribeLaunchConfigurationTemplatesPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Drs) DescribeLaunchConfigurationTemplatesPagesWithContext(ctx aws.Context, input *DescribeLaunchConfigurationTemplatesInput, fn func(*DescribeLaunchConfigurationTemplatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeLaunchConfigurationTemplatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeLaunchConfigurationTemplatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeLaunchConfigurationTemplatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeRecoveryInstances = "DescribeRecoveryInstances" // DescribeRecoveryInstancesRequest generates a "aws/request.Request" representing the @@ -3591,6 +3930,101 @@ func (c *Drs) UpdateLaunchConfigurationWithContext(ctx aws.Context, input *Updat return out, req.Send() } +const opUpdateLaunchConfigurationTemplate = "UpdateLaunchConfigurationTemplate" + +// UpdateLaunchConfigurationTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLaunchConfigurationTemplate 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 UpdateLaunchConfigurationTemplate for more information on using the UpdateLaunchConfigurationTemplate +// 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 UpdateLaunchConfigurationTemplateRequest method. +// req, resp := client.UpdateLaunchConfigurationTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfigurationTemplate +func (c *Drs) UpdateLaunchConfigurationTemplateRequest(input *UpdateLaunchConfigurationTemplateInput) (req *request.Request, output *UpdateLaunchConfigurationTemplateOutput) { + op := &request.Operation{ + Name: opUpdateLaunchConfigurationTemplate, + HTTPMethod: "POST", + HTTPPath: "/UpdateLaunchConfigurationTemplate", + } + + if input == nil { + input = &UpdateLaunchConfigurationTemplateInput{} + } + + output = &UpdateLaunchConfigurationTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateLaunchConfigurationTemplate API operation for Elastic Disaster Recovery Service. +// +// Updates an existing Launch Configuration Template by ID. +// +// 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 Elastic Disaster Recovery Service's +// API operation UpdateLaunchConfigurationTemplate for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfigurationTemplate +func (c *Drs) UpdateLaunchConfigurationTemplate(input *UpdateLaunchConfigurationTemplateInput) (*UpdateLaunchConfigurationTemplateOutput, error) { + req, out := c.UpdateLaunchConfigurationTemplateRequest(input) + return out, req.Send() +} + +// UpdateLaunchConfigurationTemplateWithContext is the same as UpdateLaunchConfigurationTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLaunchConfigurationTemplate 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 *Drs) UpdateLaunchConfigurationTemplateWithContext(ctx aws.Context, input *UpdateLaunchConfigurationTemplateInput, opts ...request.Option) (*UpdateLaunchConfigurationTemplateOutput, error) { + req, out := c.UpdateLaunchConfigurationTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateReplicationConfiguration = "UpdateReplicationConfiguration" // UpdateReplicationConfigurationRequest generates a "aws/request.Request" representing the @@ -4160,6 +4594,117 @@ func (s *CreateExtendedSourceServerOutput) SetSourceServer(v *SourceServer) *Cre return s } +type CreateLaunchConfigurationTemplateInput struct { + _ struct{} `type:"structure"` + + // Copy private IP. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy tags. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // Launch disposition. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Request to associate tags during creation of a Launch Configuration Template. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateLaunchConfigurationTemplateInput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Target instance type right-sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` +} + +// 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 CreateLaunchConfigurationTemplateInput) 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 CreateLaunchConfigurationTemplateInput) GoString() string { + return s.String() +} + +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetCopyPrivateIp(v bool) *CreateLaunchConfigurationTemplateInput { + s.CopyPrivateIp = &v + return s +} + +// SetCopyTags sets the CopyTags field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetCopyTags(v bool) *CreateLaunchConfigurationTemplateInput { + s.CopyTags = &v + return s +} + +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetLaunchDisposition(v string) *CreateLaunchConfigurationTemplateInput { + s.LaunchDisposition = &v + return s +} + +// SetLicensing sets the Licensing field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetLicensing(v *Licensing) *CreateLaunchConfigurationTemplateInput { + s.Licensing = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetTags(v map[string]*string) *CreateLaunchConfigurationTemplateInput { + s.Tags = v + return s +} + +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetTargetInstanceTypeRightSizingMethod(v string) *CreateLaunchConfigurationTemplateInput { + s.TargetInstanceTypeRightSizingMethod = &v + return s +} + +type CreateLaunchConfigurationTemplateOutput struct { + _ struct{} `type:"structure"` + + // Created Launch Configuration Template. + LaunchConfigurationTemplate *LaunchConfigurationTemplate `locationName:"launchConfigurationTemplate" 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 CreateLaunchConfigurationTemplateOutput) 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 CreateLaunchConfigurationTemplateOutput) GoString() string { + return s.String() +} + +// SetLaunchConfigurationTemplate sets the LaunchConfigurationTemplate field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetLaunchConfigurationTemplate(v *LaunchConfigurationTemplate) *CreateLaunchConfigurationTemplateOutput { + s.LaunchConfigurationTemplate = v + return s +} + type CreateReplicationConfigurationTemplateInput struct { _ struct{} `type:"structure"` @@ -4943,7 +5488,78 @@ func (s *DeleteJobInput) SetJobID(v string) *DeleteJobInput { return s } -type DeleteJobOutput struct { +type DeleteJobOutput 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 DeleteJobOutput) 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 DeleteJobOutput) GoString() string { + return s.String() +} + +type DeleteLaunchConfigurationTemplateInput struct { + _ struct{} `type:"structure"` + + // The ID of the Launch Configuration Template to be deleted. + // + // LaunchConfigurationTemplateID is a required field + LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" 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 DeleteLaunchConfigurationTemplateInput) 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 DeleteLaunchConfigurationTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteLaunchConfigurationTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLaunchConfigurationTemplateInput"} + if s.LaunchConfigurationTemplateID == nil { + invalidParams.Add(request.NewErrParamRequired("LaunchConfigurationTemplateID")) + } + if s.LaunchConfigurationTemplateID != nil && len(*s.LaunchConfigurationTemplateID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("LaunchConfigurationTemplateID", 21)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. +func (s *DeleteLaunchConfigurationTemplateInput) SetLaunchConfigurationTemplateID(v string) *DeleteLaunchConfigurationTemplateInput { + s.LaunchConfigurationTemplateID = &v + return s +} + +type DeleteLaunchConfigurationTemplateOutput struct { _ struct{} `type:"structure"` } @@ -4952,7 +5568,7 @@ type DeleteJobOutput struct { // 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 DeleteJobOutput) String() string { +func (s DeleteLaunchConfigurationTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -4961,7 +5577,7 @@ func (s DeleteJobOutput) String() string { // 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 DeleteJobOutput) GoString() string { +func (s DeleteLaunchConfigurationTemplateOutput) GoString() string { return s.String() } @@ -5461,6 +6077,109 @@ func (s *DescribeJobsRequestFilters) SetToDate(v string) *DescribeJobsRequestFil return s } +type DescribeLaunchConfigurationTemplatesInput struct { + _ struct{} `type:"structure"` + + // Request to filter Launch Configuration Templates list by Launch Configuration + // Template ID. + LaunchConfigurationTemplateIDs []*string `locationName:"launchConfigurationTemplateIDs" type:"list"` + + // Maximum results to be returned in DescribeLaunchConfigurationTemplates. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The token of the next Launch Configuration Template to retrieve. + NextToken *string `locationName:"nextToken" 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 DescribeLaunchConfigurationTemplatesInput) 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 DescribeLaunchConfigurationTemplatesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeLaunchConfigurationTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeLaunchConfigurationTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLaunchConfigurationTemplateIDs sets the LaunchConfigurationTemplateIDs field's value. +func (s *DescribeLaunchConfigurationTemplatesInput) SetLaunchConfigurationTemplateIDs(v []*string) *DescribeLaunchConfigurationTemplatesInput { + s.LaunchConfigurationTemplateIDs = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeLaunchConfigurationTemplatesInput) SetMaxResults(v int64) *DescribeLaunchConfigurationTemplatesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchConfigurationTemplatesInput) SetNextToken(v string) *DescribeLaunchConfigurationTemplatesInput { + s.NextToken = &v + return s +} + +type DescribeLaunchConfigurationTemplatesOutput struct { + _ struct{} `type:"structure"` + + // List of items returned by DescribeLaunchConfigurationTemplates. + Items []*LaunchConfigurationTemplate `locationName:"items" type:"list"` + + // The token of the next Launch Configuration Template to retrieve. + NextToken *string `locationName:"nextToken" 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 DescribeLaunchConfigurationTemplatesOutput) 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 DescribeLaunchConfigurationTemplatesOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *DescribeLaunchConfigurationTemplatesOutput) SetItems(v []*LaunchConfigurationTemplate) *DescribeLaunchConfigurationTemplatesOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchConfigurationTemplatesOutput) SetNextToken(v string) *DescribeLaunchConfigurationTemplatesOutput { + s.NextToken = &v + return s +} + type DescribeRecoveryInstancesInput struct { _ struct{} `type:"structure"` @@ -7241,6 +7960,105 @@ func (s *JobLogEventData) SetTargetInstanceID(v string) *JobLogEventData { return s } +// Account level Launch Configuration Template. +type LaunchConfigurationTemplate struct { + _ struct{} `type:"structure"` + + // ARN of the Launch Configuration Template. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Copy private IP. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy tags. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // ID of the Launch Configuration Template. + LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string"` + + // Launch disposition. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Tags of the Launch Configuration Template. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by LaunchConfigurationTemplate's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Target instance type right-sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` +} + +// 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 LaunchConfigurationTemplate) 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 LaunchConfigurationTemplate) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *LaunchConfigurationTemplate) SetArn(v string) *LaunchConfigurationTemplate { + s.Arn = &v + return s +} + +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *LaunchConfigurationTemplate) SetCopyPrivateIp(v bool) *LaunchConfigurationTemplate { + s.CopyPrivateIp = &v + return s +} + +// SetCopyTags sets the CopyTags field's value. +func (s *LaunchConfigurationTemplate) SetCopyTags(v bool) *LaunchConfigurationTemplate { + s.CopyTags = &v + return s +} + +// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. +func (s *LaunchConfigurationTemplate) SetLaunchConfigurationTemplateID(v string) *LaunchConfigurationTemplate { + s.LaunchConfigurationTemplateID = &v + return s +} + +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *LaunchConfigurationTemplate) SetLaunchDisposition(v string) *LaunchConfigurationTemplate { + s.LaunchDisposition = &v + return s +} + +// SetLicensing sets the Licensing field's value. +func (s *LaunchConfigurationTemplate) SetLicensing(v *Licensing) *LaunchConfigurationTemplate { + s.Licensing = v + return s +} + +// SetTags sets the Tags field's value. +func (s *LaunchConfigurationTemplate) SetTags(v map[string]*string) *LaunchConfigurationTemplate { + s.Tags = v + return s +} + +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *LaunchConfigurationTemplate) SetTargetInstanceTypeRightSizingMethod(v string) *LaunchConfigurationTemplate { + s.TargetInstanceTypeRightSizingMethod = &v + return s +} + // Configuration of a machine's license. type Licensing struct { _ struct{} `type:"structure"` @@ -9479,6 +10297,9 @@ type SourceProperties struct { // The recommended EC2 instance type that will be used when recovering the Source // Server. RecommendedInstanceType *string `locationName:"recommendedInstanceType" type:"string"` + + // Are EC2 nitro instance types supported when recovering the Source Server. + SupportsNitroInstances *bool `locationName:"supportsNitroInstances" type:"boolean"` } // String returns the string representation. @@ -9547,6 +10368,12 @@ func (s *SourceProperties) SetRecommendedInstanceType(v string) *SourcePropertie return s } +// SetSupportsNitroInstances sets the SupportsNitroInstances field's value. +func (s *SourceProperties) SetSupportsNitroInstances(v bool) *SourceProperties { + s.SupportsNitroInstances = &v + return s +} + type SourceServer struct { _ struct{} `type:"structure"` @@ -11003,6 +11830,131 @@ func (s *UpdateLaunchConfigurationOutput) SetTargetInstanceTypeRightSizingMethod return s } +type UpdateLaunchConfigurationTemplateInput struct { + _ struct{} `type:"structure"` + + // Copy private IP. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy tags. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // Launch Configuration Template ID. + // + // LaunchConfigurationTemplateID is a required field + LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` + + // Launch disposition. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Target instance type right-sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` +} + +// 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 UpdateLaunchConfigurationTemplateInput) 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 UpdateLaunchConfigurationTemplateInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateLaunchConfigurationTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateLaunchConfigurationTemplateInput"} + if s.LaunchConfigurationTemplateID == nil { + invalidParams.Add(request.NewErrParamRequired("LaunchConfigurationTemplateID")) + } + if s.LaunchConfigurationTemplateID != nil && len(*s.LaunchConfigurationTemplateID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("LaunchConfigurationTemplateID", 21)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetCopyPrivateIp(v bool) *UpdateLaunchConfigurationTemplateInput { + s.CopyPrivateIp = &v + return s +} + +// SetCopyTags sets the CopyTags field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetCopyTags(v bool) *UpdateLaunchConfigurationTemplateInput { + s.CopyTags = &v + return s +} + +// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetLaunchConfigurationTemplateID(v string) *UpdateLaunchConfigurationTemplateInput { + s.LaunchConfigurationTemplateID = &v + return s +} + +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetLaunchDisposition(v string) *UpdateLaunchConfigurationTemplateInput { + s.LaunchDisposition = &v + return s +} + +// SetLicensing sets the Licensing field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetLicensing(v *Licensing) *UpdateLaunchConfigurationTemplateInput { + s.Licensing = v + return s +} + +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *UpdateLaunchConfigurationTemplateInput) SetTargetInstanceTypeRightSizingMethod(v string) *UpdateLaunchConfigurationTemplateInput { + s.TargetInstanceTypeRightSizingMethod = &v + return s +} + +type UpdateLaunchConfigurationTemplateOutput struct { + _ struct{} `type:"structure"` + + // Updated Launch Configuration Template. + LaunchConfigurationTemplate *LaunchConfigurationTemplate `locationName:"launchConfigurationTemplate" 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 UpdateLaunchConfigurationTemplateOutput) 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 UpdateLaunchConfigurationTemplateOutput) GoString() string { + return s.String() +} + +// SetLaunchConfigurationTemplate sets the LaunchConfigurationTemplate field's value. +func (s *UpdateLaunchConfigurationTemplateOutput) SetLaunchConfigurationTemplate(v *LaunchConfigurationTemplate) *UpdateLaunchConfigurationTemplateOutput { + s.LaunchConfigurationTemplate = v + return s +} + type UpdateReplicationConfigurationInput struct { _ struct{} `type:"structure"` diff --git a/service/drs/drsiface/interface.go b/service/drs/drsiface/interface.go index 43f4917e2b0..7df8790b134 100644 --- a/service/drs/drsiface/interface.go +++ b/service/drs/drsiface/interface.go @@ -64,6 +64,10 @@ type DrsAPI interface { CreateExtendedSourceServerWithContext(aws.Context, *drs.CreateExtendedSourceServerInput, ...request.Option) (*drs.CreateExtendedSourceServerOutput, error) CreateExtendedSourceServerRequest(*drs.CreateExtendedSourceServerInput) (*request.Request, *drs.CreateExtendedSourceServerOutput) + CreateLaunchConfigurationTemplate(*drs.CreateLaunchConfigurationTemplateInput) (*drs.CreateLaunchConfigurationTemplateOutput, error) + CreateLaunchConfigurationTemplateWithContext(aws.Context, *drs.CreateLaunchConfigurationTemplateInput, ...request.Option) (*drs.CreateLaunchConfigurationTemplateOutput, error) + CreateLaunchConfigurationTemplateRequest(*drs.CreateLaunchConfigurationTemplateInput) (*request.Request, *drs.CreateLaunchConfigurationTemplateOutput) + CreateReplicationConfigurationTemplate(*drs.CreateReplicationConfigurationTemplateInput) (*drs.CreateReplicationConfigurationTemplateOutput, error) CreateReplicationConfigurationTemplateWithContext(aws.Context, *drs.CreateReplicationConfigurationTemplateInput, ...request.Option) (*drs.CreateReplicationConfigurationTemplateOutput, error) CreateReplicationConfigurationTemplateRequest(*drs.CreateReplicationConfigurationTemplateInput) (*request.Request, *drs.CreateReplicationConfigurationTemplateOutput) @@ -72,6 +76,10 @@ type DrsAPI interface { DeleteJobWithContext(aws.Context, *drs.DeleteJobInput, ...request.Option) (*drs.DeleteJobOutput, error) DeleteJobRequest(*drs.DeleteJobInput) (*request.Request, *drs.DeleteJobOutput) + DeleteLaunchConfigurationTemplate(*drs.DeleteLaunchConfigurationTemplateInput) (*drs.DeleteLaunchConfigurationTemplateOutput, error) + DeleteLaunchConfigurationTemplateWithContext(aws.Context, *drs.DeleteLaunchConfigurationTemplateInput, ...request.Option) (*drs.DeleteLaunchConfigurationTemplateOutput, error) + DeleteLaunchConfigurationTemplateRequest(*drs.DeleteLaunchConfigurationTemplateInput) (*request.Request, *drs.DeleteLaunchConfigurationTemplateOutput) + DeleteRecoveryInstance(*drs.DeleteRecoveryInstanceInput) (*drs.DeleteRecoveryInstanceOutput, error) DeleteRecoveryInstanceWithContext(aws.Context, *drs.DeleteRecoveryInstanceInput, ...request.Option) (*drs.DeleteRecoveryInstanceOutput, error) DeleteRecoveryInstanceRequest(*drs.DeleteRecoveryInstanceInput) (*request.Request, *drs.DeleteRecoveryInstanceOutput) @@ -98,6 +106,13 @@ type DrsAPI interface { DescribeJobsPages(*drs.DescribeJobsInput, func(*drs.DescribeJobsOutput, bool) bool) error DescribeJobsPagesWithContext(aws.Context, *drs.DescribeJobsInput, func(*drs.DescribeJobsOutput, bool) bool, ...request.Option) error + DescribeLaunchConfigurationTemplates(*drs.DescribeLaunchConfigurationTemplatesInput) (*drs.DescribeLaunchConfigurationTemplatesOutput, error) + DescribeLaunchConfigurationTemplatesWithContext(aws.Context, *drs.DescribeLaunchConfigurationTemplatesInput, ...request.Option) (*drs.DescribeLaunchConfigurationTemplatesOutput, error) + DescribeLaunchConfigurationTemplatesRequest(*drs.DescribeLaunchConfigurationTemplatesInput) (*request.Request, *drs.DescribeLaunchConfigurationTemplatesOutput) + + DescribeLaunchConfigurationTemplatesPages(*drs.DescribeLaunchConfigurationTemplatesInput, func(*drs.DescribeLaunchConfigurationTemplatesOutput, bool) bool) error + DescribeLaunchConfigurationTemplatesPagesWithContext(aws.Context, *drs.DescribeLaunchConfigurationTemplatesInput, func(*drs.DescribeLaunchConfigurationTemplatesOutput, bool) bool, ...request.Option) error + DescribeRecoveryInstances(*drs.DescribeRecoveryInstancesInput) (*drs.DescribeRecoveryInstancesOutput, error) DescribeRecoveryInstancesWithContext(aws.Context, *drs.DescribeRecoveryInstancesInput, ...request.Option) (*drs.DescribeRecoveryInstancesOutput, error) DescribeRecoveryInstancesRequest(*drs.DescribeRecoveryInstancesInput) (*request.Request, *drs.DescribeRecoveryInstancesOutput) @@ -216,6 +231,10 @@ type DrsAPI interface { UpdateLaunchConfigurationWithContext(aws.Context, *drs.UpdateLaunchConfigurationInput, ...request.Option) (*drs.UpdateLaunchConfigurationOutput, error) UpdateLaunchConfigurationRequest(*drs.UpdateLaunchConfigurationInput) (*request.Request, *drs.UpdateLaunchConfigurationOutput) + UpdateLaunchConfigurationTemplate(*drs.UpdateLaunchConfigurationTemplateInput) (*drs.UpdateLaunchConfigurationTemplateOutput, error) + UpdateLaunchConfigurationTemplateWithContext(aws.Context, *drs.UpdateLaunchConfigurationTemplateInput, ...request.Option) (*drs.UpdateLaunchConfigurationTemplateOutput, error) + UpdateLaunchConfigurationTemplateRequest(*drs.UpdateLaunchConfigurationTemplateInput) (*request.Request, *drs.UpdateLaunchConfigurationTemplateOutput) + UpdateReplicationConfiguration(*drs.UpdateReplicationConfigurationInput) (*drs.UpdateReplicationConfigurationOutput, error) UpdateReplicationConfigurationWithContext(aws.Context, *drs.UpdateReplicationConfigurationInput, ...request.Option) (*drs.UpdateReplicationConfigurationOutput, error) UpdateReplicationConfigurationRequest(*drs.UpdateReplicationConfigurationInput) (*request.Request, *drs.UpdateReplicationConfigurationOutput) diff --git a/service/dynamodb/api.go b/service/dynamodb/api.go index 2539e6f0192..8b25fedcdac 100644 --- a/service/dynamodb/api.go +++ b/service/dynamodb/api.go @@ -223,7 +223,8 @@ func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.R // in the request. If you want strongly consistent reads instead, you can set // ConsistentRead to true for any or all tables. // -// In order to minimize response latency, BatchGetItem retrieves items in parallel. +// In order to minimize response latency, BatchGetItem may retrieve items in +// parallel. // // When designing your application, keep in mind that DynamoDB does not return // items in any particular order. To help parse the response by item, include @@ -5254,7 +5255,7 @@ func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupIn // RestoreTableFromBackup API operation for Amazon DynamoDB. // // Creates a new table from an existing backup. Any number of users can execute -// up to 4 concurrent restores (any type of restore) in a given account. +// up to 50 concurrent restores (any type of restore) in a given account. // // You can call RestoreTableFromBackup at a maximum rate of 10 times per second. // diff --git a/service/emrserverless/api.go b/service/emrserverless/api.go index 73a0579f9ef..01bb1e716f2 100644 --- a/service/emrserverless/api.go +++ b/service/emrserverless/api.go @@ -406,7 +406,9 @@ func (c *EMRServerless) GetDashboardForJobRunRequest(input *GetDashboardForJobRu // GetDashboardForJobRun API operation for EMR Serverless. // -// Returns a URL to access the job run dashboard. +// Returns a URL to access the job run dashboard. The generated URL is valid +// for one hour, after which you must invoke the API again to generate a new +// URL. // // 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 @@ -3184,6 +3186,12 @@ type JobRun struct { // Arn is a required field Arn *string `locationName:"arn" min:"60" type:"string" required:"true"` + // The aggregate vCPU, memory, and storage that AWS has billed for the job run. + // The billed resources include a 1-minute minimum usage for workers, plus additional + // storage over 20 GB per worker. Note that billed resources do not include + // usage for idle pre-initialized workers. + BilledResourceUtilization *ResourceUtilization `locationName:"billedResourceUtilization" type:"structure"` + // The configuration settings that are used to override default configuration. ConfigurationOverrides *ConfigurationOverrides `locationName:"configurationOverrides" type:"structure"` @@ -3202,8 +3210,8 @@ type JobRun struct { // ExecutionRole is a required field ExecutionRole *string `locationName:"executionRole" min:"20" type:"string" required:"true"` - // Maximum duration for the job run to run. If the job run runs beyond this - // duration, it will be automatically cancelled. + // Returns the job run timeout value from the StartJobRun call. If no timeout + // was specified, then it returns the default timeout of 720 minutes. ExecutionTimeoutMinutes *int64 `locationName:"executionTimeoutMinutes" type:"long"` // The job driver for the job run. @@ -3244,9 +3252,9 @@ type JobRun struct { // for job runs in a COMPLETED, FAILED, or CANCELLED state. TotalExecutionDurationSeconds *int64 `locationName:"totalExecutionDurationSeconds" type:"integer"` - // The aggregate vCPU, memory, and storage resources used from the time job - // start executing till the time job is terminated, rounded up to the nearest - // second. + // The aggregate vCPU, memory, and storage resources used from the time the + // job starts to execute, until the time the job terminates, rounded up to the + // nearest second. TotalResourceUtilization *TotalResourceUtilization `locationName:"totalResourceUtilization" type:"structure"` // The date and time when the job run was updated. @@ -3285,6 +3293,12 @@ func (s *JobRun) SetArn(v string) *JobRun { return s } +// SetBilledResourceUtilization sets the BilledResourceUtilization field's value. +func (s *JobRun) SetBilledResourceUtilization(v *ResourceUtilization) *JobRun { + s.BilledResourceUtilization = v + return s +} + // SetConfigurationOverrides sets the ConfigurationOverrides field's value. func (s *JobRun) SetConfigurationOverrides(v *ConfigurationOverrides) *JobRun { s.ConfigurationOverrides = v @@ -4172,6 +4186,59 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// The resource utilization for memory, storage, and vCPU for jobs. +type ResourceUtilization struct { + _ struct{} `type:"structure"` + + // The aggregated memory used per hour from the time the job starts executing + // until the job is terminated. + MemoryGBHour *float64 `locationName:"memoryGBHour" type:"double"` + + // The aggregated storage used per hour from the time the job starts executing + // until the job is terminated. + StorageGBHour *float64 `locationName:"storageGBHour" type:"double"` + + // The aggregated vCPU used per hour from the time the job starts executing + // until the job is terminated. + VCPUHour *float64 `locationName:"vCPUHour" type:"double"` +} + +// 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 ResourceUtilization) 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 ResourceUtilization) GoString() string { + return s.String() +} + +// SetMemoryGBHour sets the MemoryGBHour field's value. +func (s *ResourceUtilization) SetMemoryGBHour(v float64) *ResourceUtilization { + s.MemoryGBHour = &v + return s +} + +// SetStorageGBHour sets the StorageGBHour field's value. +func (s *ResourceUtilization) SetStorageGBHour(v float64) *ResourceUtilization { + s.StorageGBHour = &v + return s +} + +// SetVCPUHour sets the VCPUHour field's value. +func (s *ResourceUtilization) SetVCPUHour(v float64) *ResourceUtilization { + s.VCPUHour = &v + return s +} + // The Amazon S3 configuration for monitoring log publishing. You can configure // your jobs to send log information to Amazon S3. type S3MonitoringConfiguration struct { diff --git a/service/internetmonitor/api.go b/service/internetmonitor/api.go index 37e01a1f775..dfb6e22dc75 100644 --- a/service/internetmonitor/api.go +++ b/service/internetmonitor/api.go @@ -1370,9 +1370,8 @@ type CreateMonitorInput struct { // other API requests. ClientToken *string `type:"string" idempotencyToken:"true"` - // Publish internet measurements for Internet Monitor to another location, such - // as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch - // Logs. + // Publish internet measurements for Internet Monitor to an Amazon S3 bucket + // in addition to CloudWatch Logs. InternetMeasurementsLogDelivery *InternetMeasurementsLogDelivery `type:"structure"` // The maximum number of city-networks to monitor for your resources. A city-network @@ -1383,9 +1382,7 @@ type CreateMonitorInput struct { // To learn more, see Choosing a city-network maximum value (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html) // in the Amazon CloudWatch Internet Monitor section of the CloudWatch User // Guide. - // - // MaxCityNetworksToMonitor is a required field - MaxCityNetworksToMonitor *int64 `min:"1" type:"integer" required:"true"` + MaxCityNetworksToMonitor *int64 `min:"1" type:"integer"` // The name of the monitor. // @@ -1405,6 +1402,10 @@ type CreateMonitorInput struct { // The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor. Tags map[string]*string `type:"map"` + + // The percentage of the internet-facing traffic for your application that you + // want to monitor with this monitor. + TrafficPercentageToMonitor *int64 `min:"1" type:"integer"` } // String returns the string representation. @@ -1428,9 +1429,6 @@ func (s CreateMonitorInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateMonitorInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateMonitorInput"} - if s.MaxCityNetworksToMonitor == nil { - invalidParams.Add(request.NewErrParamRequired("MaxCityNetworksToMonitor")) - } if s.MaxCityNetworksToMonitor != nil && *s.MaxCityNetworksToMonitor < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxCityNetworksToMonitor", 1)) } @@ -1440,6 +1438,9 @@ func (s *CreateMonitorInput) Validate() error { if s.MonitorName != nil && len(*s.MonitorName) < 1 { invalidParams.Add(request.NewErrParamMinLen("MonitorName", 1)) } + if s.TrafficPercentageToMonitor != nil && *s.TrafficPercentageToMonitor < 1 { + invalidParams.Add(request.NewErrParamMinValue("TrafficPercentageToMonitor", 1)) + } if s.InternetMeasurementsLogDelivery != nil { if err := s.InternetMeasurementsLogDelivery.Validate(); err != nil { invalidParams.AddNested("InternetMeasurementsLogDelivery", err.(request.ErrInvalidParams)) @@ -1488,6 +1489,12 @@ func (s *CreateMonitorInput) SetTags(v map[string]*string) *CreateMonitorInput { return s } +// SetTrafficPercentageToMonitor sets the TrafficPercentageToMonitor field's value. +func (s *CreateMonitorInput) SetTrafficPercentageToMonitor(v int64) *CreateMonitorInput { + s.TrafficPercentageToMonitor = &v + return s +} + type CreateMonitorOutput struct { _ struct{} `type:"structure"` @@ -1868,9 +1875,7 @@ type GetMonitorOutput struct { // To learn more, see Choosing a city-network maximum value (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html) // in the Amazon CloudWatch Internet Monitor section of the CloudWatch User // Guide. - // - // MaxCityNetworksToMonitor is a required field - MaxCityNetworksToMonitor *int64 `min:"1" type:"integer" required:"true"` + MaxCityNetworksToMonitor *int64 `min:"1" type:"integer"` // The last time that the monitor was modified. // @@ -1906,6 +1911,10 @@ type GetMonitorOutput struct { // The tags that have been added to monitor. Tags map[string]*string `type:"map"` + + // The percentage of the internet-facing traffic for your application that you + // want to monitor with this monitor. + TrafficPercentageToMonitor *int64 `min:"1" type:"integer"` } // String returns the string representation. @@ -1992,6 +2001,12 @@ func (s *GetMonitorOutput) SetTags(v map[string]*string) *GetMonitorOutput { return s } +// SetTrafficPercentageToMonitor sets the TrafficPercentageToMonitor field's value. +func (s *GetMonitorOutput) SetTrafficPercentageToMonitor(v int64) *GetMonitorOutput { + s.TrafficPercentageToMonitor = &v + return s +} + // Information about a health event created in a monitor in Amazon CloudWatch // Internet Monitor. type HealthEvent struct { @@ -2491,9 +2506,8 @@ func (s *InternetHealth) SetPerformance(v *PerformanceMeasurement) *InternetHeal return s } -// Configuration information for other locations that you choose to publish -// Amazon CloudWatch Internet Monitor internet measurements to, such as Amazon -// S3. The measurements are also published to Amazon CloudWatch Logs. +// Publish internet measurements to an Amazon S3 bucket in addition to CloudWatch +// Logs. type InternetMeasurementsLogDelivery struct { _ struct{} `type:"structure"` @@ -3811,6 +3825,10 @@ type UpdateMonitorInput struct { // API call are the following: ACTIVE and INACTIVE. The following values are // not accepted: PENDING, and ERROR. Status *string `type:"string" enum:"MonitorConfigState"` + + // The percentage of the internet-facing traffic for your application that you + // want to monitor with this monitor. + TrafficPercentageToMonitor *int64 `min:"1" type:"integer"` } // String returns the string representation. @@ -3843,6 +3861,9 @@ func (s *UpdateMonitorInput) Validate() error { if s.MonitorName != nil && len(*s.MonitorName) < 1 { invalidParams.Add(request.NewErrParamMinLen("MonitorName", 1)) } + if s.TrafficPercentageToMonitor != nil && *s.TrafficPercentageToMonitor < 1 { + invalidParams.Add(request.NewErrParamMinValue("TrafficPercentageToMonitor", 1)) + } if s.InternetMeasurementsLogDelivery != nil { if err := s.InternetMeasurementsLogDelivery.Validate(); err != nil { invalidParams.AddNested("InternetMeasurementsLogDelivery", err.(request.ErrInvalidParams)) @@ -3897,6 +3918,12 @@ func (s *UpdateMonitorInput) SetStatus(v string) *UpdateMonitorInput { return s } +// SetTrafficPercentageToMonitor sets the TrafficPercentageToMonitor field's value. +func (s *UpdateMonitorInput) SetTrafficPercentageToMonitor(v int64) *UpdateMonitorInput { + s.TrafficPercentageToMonitor = &v + return s +} + type UpdateMonitorOutput struct { _ struct{} `type:"structure"` diff --git a/service/iotwireless/api.go b/service/iotwireless/api.go index f5ec6391417..18a640a4f34 100644 --- a/service/iotwireless/api.go +++ b/service/iotwireless/api.go @@ -21865,7 +21865,7 @@ type LoRaWANDeviceProfile struct { PingSlotFreq *int64 `min:"1e+06" type:"integer"` // The PingSlotPeriod value. - PingSlotPeriod *int64 `min:"128" type:"integer"` + PingSlotPeriod *int64 `min:"32" type:"integer"` // The version of regional parameters. RegParamsRevision *string `type:"string"` @@ -21922,8 +21922,8 @@ func (s *LoRaWANDeviceProfile) Validate() error { if s.PingSlotFreq != nil && *s.PingSlotFreq < 1e+06 { invalidParams.Add(request.NewErrParamMinValue("PingSlotFreq", 1e+06)) } - if s.PingSlotPeriod != nil && *s.PingSlotPeriod < 128 { - invalidParams.Add(request.NewErrParamMinValue("PingSlotPeriod", 128)) + if s.PingSlotPeriod != nil && *s.PingSlotPeriod < 32 { + invalidParams.Add(request.NewErrParamMinValue("PingSlotPeriod", 32)) } if s.RxFreq2 != nil && *s.RxFreq2 < 1e+06 { invalidParams.Add(request.NewErrParamMinValue("RxFreq2", 1e+06)) @@ -22136,6 +22136,9 @@ type LoRaWANGateway struct { // A list of JoinEuiRange used by LoRa gateways to filter LoRa frames. JoinEuiFilters [][]*string `type:"list"` + // The MaxEIRP value. + MaxEirp *float64 `type:"float"` + // A list of NetId values that are used by LoRa gateways to filter the uplink // frames. NetIdFilters []*string `type:"list"` @@ -22183,6 +22186,12 @@ func (s *LoRaWANGateway) SetJoinEuiFilters(v [][]*string) *LoRaWANGateway { return s } +// SetMaxEirp sets the MaxEirp field's value. +func (s *LoRaWANGateway) SetMaxEirp(v float64) *LoRaWANGateway { + s.MaxEirp = &v + return s +} + // SetNetIdFilters sets the NetIdFilters field's value. func (s *LoRaWANGateway) SetNetIdFilters(v []*string) *LoRaWANGateway { s.NetIdFilters = v @@ -22799,6 +22808,9 @@ type LoRaWANMulticastSession struct { // Downlink frequency. DlFreq *int64 `min:"1e+08" type:"integer"` + // The PingSlotPeriod value. + PingSlotPeriod *int64 `min:"32" type:"integer"` + // Timestamp of when the multicast group session is to start. SessionStartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -22830,6 +22842,9 @@ func (s *LoRaWANMulticastSession) Validate() error { if s.DlFreq != nil && *s.DlFreq < 1e+08 { invalidParams.Add(request.NewErrParamMinValue("DlFreq", 1e+08)) } + if s.PingSlotPeriod != nil && *s.PingSlotPeriod < 32 { + invalidParams.Add(request.NewErrParamMinValue("PingSlotPeriod", 32)) + } if s.SessionTimeout != nil && *s.SessionTimeout < 60 { invalidParams.Add(request.NewErrParamMinValue("SessionTimeout", 60)) } @@ -22852,6 +22867,12 @@ func (s *LoRaWANMulticastSession) SetDlFreq(v int64) *LoRaWANMulticastSession { return s } +// SetPingSlotPeriod sets the PingSlotPeriod field's value. +func (s *LoRaWANMulticastSession) SetPingSlotPeriod(v int64) *LoRaWANMulticastSession { + s.PingSlotPeriod = &v + return s +} + // SetSessionStartTime sets the SessionStartTime field's value. func (s *LoRaWANMulticastSession) SetSessionStartTime(v time.Time) *LoRaWANMulticastSession { s.SessionStartTime = &v @@ -22936,6 +22957,12 @@ type LoRaWANServiceProfile struct { // The DrMin value. DrMin *int64 `type:"integer"` + + // The PRAllowed value that describes whether passive roaming is allowed. + PrAllowed *bool `type:"boolean"` + + // The RAAllowed value that describes whether roaming activation is allowed. + RaAllowed *bool `type:"boolean"` } // String returns the string representation. @@ -22974,6 +23001,18 @@ func (s *LoRaWANServiceProfile) SetDrMin(v int64) *LoRaWANServiceProfile { return s } +// SetPrAllowed sets the PrAllowed field's value. +func (s *LoRaWANServiceProfile) SetPrAllowed(v bool) *LoRaWANServiceProfile { + s.PrAllowed = &v + return s +} + +// SetRaAllowed sets the RaAllowed field's value. +func (s *LoRaWANServiceProfile) SetRaAllowed(v bool) *LoRaWANServiceProfile { + s.RaAllowed = &v + return s +} + // The LoRaWAN information used to start a FUOTA task. type LoRaWANStartFuotaTask struct { _ struct{} `type:"structure"` @@ -28928,6 +28967,9 @@ type UpdateWirelessGatewayInput struct { // A list of JoinEuiRange used by LoRa gateways to filter LoRa frames. JoinEuiFilters [][]*string `type:"list"` + // The MaxEIRP value. + MaxEirp *float64 `type:"float"` + // The new name of the resource. Name *string `type:"string"` @@ -28988,6 +29030,12 @@ func (s *UpdateWirelessGatewayInput) SetJoinEuiFilters(v [][]*string) *UpdateWir return s } +// SetMaxEirp sets the MaxEirp field's value. +func (s *UpdateWirelessGatewayInput) SetMaxEirp(v float64) *UpdateWirelessGatewayInput { + s.MaxEirp = &v + return s +} + // SetName sets the Name field's value. func (s *UpdateWirelessGatewayInput) SetName(v string) *UpdateWirelessGatewayInput { s.Name = &v diff --git a/service/lambda/api.go b/service/lambda/api.go index 75b5b3a4089..bfd4f88fab3 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -22854,6 +22854,9 @@ const ( // RuntimeNodejs18X is a Runtime enum value RuntimeNodejs18X = "nodejs18.x" + + // RuntimePython310 is a Runtime enum value + RuntimePython310 = "python3.10" ) // Runtime_Values returns all elements of the Runtime enum @@ -22887,6 +22890,7 @@ func Runtime_Values() []string { RuntimeProvided, RuntimeProvidedAl2, RuntimeNodejs18X, + RuntimePython310, } }